Navision Client performance difference

ouredp
Member Posts: 56
Hello ,
We are facing a performance difference on SQL Server transactions between a some servers on wich Navision Clients are running.
Let me try to explain our problem:
We are running Navision 5.1 Clients on citrix servers and another Server running NAS. All Servers are virtualized.
SQL 2008 R2 Server is not virtualized.
As we discovered a perfomance problem on the NAS Server i set up a little benchmark function with somme find and calcfields operation, and ran this funktion on both environments with Standard Client.
Looking on Client Monitor:
On Citrix Server : 6 sec, 320 DB Operations with 16 Ms , all others with 0
On NAS Server : 26 sec , 1516 DB Operations with 16 Ms , all others with 0
We have checked the virtualization environment running the server on the same boxes.
Another fact is that running the function on the citrix client for the first time it also took 26 s , the second time only 6 s.
on a local client it takes 6 s the first time, on the NAS Server box it takes 26 s everytime.
Open connection problem ? Caching ?
Any advice is appreciated.
We are facing a performance difference on SQL Server transactions between a some servers on wich Navision Clients are running.
Let me try to explain our problem:
We are running Navision 5.1 Clients on citrix servers and another Server running NAS. All Servers are virtualized.
SQL 2008 R2 Server is not virtualized.
As we discovered a perfomance problem on the NAS Server i set up a little benchmark function with somme find and calcfields operation, and ran this funktion on both environments with Standard Client.
Looking on Client Monitor:
On Citrix Server : 6 sec, 320 DB Operations with 16 Ms , all others with 0
On NAS Server : 26 sec , 1516 DB Operations with 16 Ms , all others with 0
We have checked the virtualization environment running the server on the same boxes.
Another fact is that running the function on the citrix client for the first time it also took 26 s , the second time only 6 s.
on a local client it takes 6 s the first time, on the NAS Server box it takes 26 s everytime.
Open connection problem ? Caching ?
Any advice is appreciated.
0
Comments
-
Check the object cache setting of the NAS.
You might also want to copy a normal client to the NAS Box and run the same benchmark there. Check with different object cache settings.Frank Dickschat
FD Consulting0 -
I ran this funktion on both environments with Standard Client.
the slow performance is allready on a standard client running with normal object cache.
On both Server : Objet Cache 32000 KB0 -
The Object are cached normally on both Client.
A deeper check in Client Monitoring shows that the SQL Cursors und SQL Plans used in both environment
are the same.10794 FIND/NEXT 33 SQL Status ID: 18981;Reused: 29;Prepared;Dynamic;Restricted;Rows: ;Cached;UpdateNoLocks
10795 CALCSUMS 33 SQL Status ID: 4756;Reused: 3561;Prepared;Default;Rows: 1;UpdateNoLocks
10796 FINDFIRST 33 SQL Status ID: 4759;Reused: 3561;Prepared;Default;Top;Rows: 1;UpdateNoLocks
As shown above only a major part of SQL Querys have a duration of 16ms on the NAS Box.
Does that refer to a network problem ?0 -
Well, I suggest to run SQL Profiler to trace the queries to see what EXACTLY takes so long ... In parallel I'd run "Windows Performance Monitor" to check on the disks and the network (maybe also CPU and RAM) - here monitoring both: the SQL Server machine and the NAS or Citrix box!Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 -
Hello,
We investigate this problem a little further and find some issues.
Running our little benchmark tool from citrix navision client and a call it "slow server Navision Client" , we found following results:
Both runs have the same execution time on the SQL Server Trace 0,6 Sec. for 4595 SQL Statements.
Analysing in details show that the run from citrix client fires 5 SQL Statement within the same millisecond, the "slow server"
fires 1 SQL statement per Ms.
In the end we find her the 1 / 5 relation in the total runtime duration.
Both Servers are running as virtual servers in the same network.
The Citrix Server is in the domain.
The slow server is attached to the sql server via a firewall.
Do you think that the firewall could be the problem ?
Thanks again for every reply , suggestion0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions