HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk and VxFS performance tuning for Sybase tempdb...
Operating System - HP-UX
1833129
Members
4164
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2002 08:53 AM
10-11-2002 08:53 AM
Disk and VxFS performance tuning for Sybase tempdb devices
Sybase Server (ASE 12.0), running under HP-UX 11.00, is experiencing performance degradation due to a high level of disk i/o contention on the two "tempdb" devices: tempdb.dat and tempdb.log.
While all other Sybase devices are configured as "raw devices" (i.e., raw lvols with no file system), the two "tempdb" devices are 800-Mb files on separate VxFS filesystems. This was done, as recommended by Sybase, for performance reasons. There is no need for data integrity on tempdb devices, so the goal is to make use of the buffer cache. Also, the "dsync" option is turned off for these devices (so, in effect, we are dealing with async i/o requests)
Originally, we had both file systems on the same disk device (actually, same LDEV on XP256). The average disk i/o queue used to be over 300.
We were able to improve performance by re-coding some sql stored procedures, and by using 64k-striping over 6 disks (3 for tempdb.dat + 3 for tempdb.log). The disk i/o queues are now about 35 for each of the three disks supporting tempdb.log, and about 15 for the other 3 disks.
To accomodate for future growth (increased user activity is expected in the near future), we're also TRYING TO TUNE VxFS FOR BETTER PERFORMANCE.
Since different VxFS mount options deal with tradeoff between performance and integrity, and since we don't require data integrity in this case, I tried using the most relaxed conditions via the following:
mount -F vxfs -o nolog,mincache=tmpcache, convosync=delay
To my surprise, these options actually degraded performance a bit. Disk i/o queues increased as well.
I also tried:
mount -F vxfs -o nolog,mincache=direct,convosync=direct ...
but this was even worse. Yes, the disk i/o queues disappeared, but the CPU utilization went up and the code took longer to execute.
So, here are my questions:
1. Why would the options like, mincache=mincache, or convosync=delay, perform worse than the default mount options?
2. How does the size of the buffer cache play role in this situation? The current size is 122 Mb. Should I go for 800Mb, or maybe 1Gb? (I've seen several posts recommending the maximum size for the buffer cache at 300-400 Mb - for HP-UX 11.00)
3. Do you have any other performance tuning suggestions?
I appreciate and welcome your input.
Mladen
While all other Sybase devices are configured as "raw devices" (i.e., raw lvols with no file system), the two "tempdb" devices are 800-Mb files on separate VxFS filesystems. This was done, as recommended by Sybase, for performance reasons. There is no need for data integrity on tempdb devices, so the goal is to make use of the buffer cache. Also, the "dsync" option is turned off for these devices (so, in effect, we are dealing with async i/o requests)
Originally, we had both file systems on the same disk device (actually, same LDEV on XP256). The average disk i/o queue used to be over 300.
We were able to improve performance by re-coding some sql stored procedures, and by using 64k-striping over 6 disks (3 for tempdb.dat + 3 for tempdb.log). The disk i/o queues are now about 35 for each of the three disks supporting tempdb.log, and about 15 for the other 3 disks.
To accomodate for future growth (increased user activity is expected in the near future), we're also TRYING TO TUNE VxFS FOR BETTER PERFORMANCE.
Since different VxFS mount options deal with tradeoff between performance and integrity, and since we don't require data integrity in this case, I tried using the most relaxed conditions via the following:
mount -F vxfs -o nolog,mincache=tmpcache, convosync=delay
To my surprise, these options actually degraded performance a bit. Disk i/o queues increased as well.
I also tried:
mount -F vxfs -o nolog,mincache=direct,convosync=direct ...
but this was even worse. Yes, the disk i/o queues disappeared, but the CPU utilization went up and the code took longer to execute.
So, here are my questions:
1. Why would the options like, mincache=mincache, or convosync=delay, perform worse than the default mount options?
2. How does the size of the buffer cache play role in this situation? The current size is 122 Mb. Should I go for 800Mb, or maybe 1Gb? (I've seen several posts recommending the maximum size for the buffer cache at 300-400 Mb - for HP-UX 11.00)
3. Do you have any other performance tuning suggestions?
I appreciate and welcome your input.
Mladen
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 07:28 AM
10-17-2002 07:28 AM
Re: Disk and VxFS performance tuning for Sybase tempdb devices
Correction:
mincache=mincache
was a typo. It was meant to be:
mincache=tmpcache
mincache=mincache
was a typo. It was meant to be:
mincache=tmpcache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 11:38 AM
10-23-2002 11:38 AM
Re: Disk and VxFS performance tuning for Sybase tempdb devices
Any thoughts at all?
Thanks,
Mladen
Thanks,
Mladen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 12:18 PM
10-23-2002 12:18 PM
Re: Disk and VxFS performance tuning for Sybase tempdb devices
Mladen,
The mincache and convosync mount options probably won't help you at all, as you observed, on most mounted file systems they'll actually degrade throughput. I would also add the option nodatainlog, since you're not concerned about integrity disable all logging.
Buffer cache will probably help in your situation and I would suggest taking it up to the 300-400mb range to start, much more than 600mb will potentially be a waste of memory. Increasing the cache should improve things since the logs you mentioned are mostly write intensive. Plus, you'll stand a better chance of increasing the throughput between the system's cache and the XP cache - it's the XP itself that 'completes' the write in this scenario.
Other suggestions are more dependent on actual implementations, but you might want to start by hardcoding the kernel tunables and defeat all formulas. Also, make sure your timeslice is not 1. More data will be needed to provide any additional insights.
Keith
The mincache and convosync mount options probably won't help you at all, as you observed, on most mounted file systems they'll actually degrade throughput. I would also add the option nodatainlog, since you're not concerned about integrity disable all logging.
Buffer cache will probably help in your situation and I would suggest taking it up to the 300-400mb range to start, much more than 600mb will potentially be a waste of memory. Increasing the cache should improve things since the logs you mentioned are mostly write intensive. Plus, you'll stand a better chance of increasing the throughput between the system's cache and the XP cache - it's the XP itself that 'completes' the write in this scenario.
Other suggestions are more dependent on actual implementations, but you might want to start by hardcoding the kernel tunables and defeat all formulas. Also, make sure your timeslice is not 1. More data will be needed to provide any additional insights.
Keith
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP