- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how often the OS buffer cache is sync'd.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО11-10-2004 12:37 AM
тАО11-10-2004 12:37 AM
I have a problem with a Progress DB freezing form time to time This is due to a high number of litle transaction. This produce a flushes during checkpoints.
Progress TechSupport ask me "how often the OS buffer cache is sync'd." and "Ideally you can change this frequency ".
This sound like syncer prog involved.
Can someone help me with this.
Xavier
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 01:01 AM
тАО11-10-2004 01:01 AM
Re: how often the OS buffer cache is sync'd.
Ive seen this type of behaviour on boxes with dbc_max_pct were left to default value (50%) and the boxes had quite some RAM...
What size buffer do you have?
A reasonable size would be no more than 400MB
as you have noticed if it is in need to flush 400MB it will frees during that time...So imagine >2GB...
You could after change the way the JFS log works by adding in /etc/fstab the optins to the filesystems giving you trouble like delaylog,dtatinlog or even mincahe=direct
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 01:07 AM
тАО11-10-2004 01:07 AM
Re: how often the OS buffer cache is sync'd.
For Oracle DB I always say that FS where DB Files are should be mounted with mincache=direct and convosync=direct options (both Oracle and HP recommends this). They make IOs bypass the cache for those FS. It should be also true for progress.
Note that these options are only available when having Online JFS installed.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 01:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 01:13 AM
тАО11-10-2004 01:13 AM
Re: how often the OS buffer cache is sync'd.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 01:20 AM
тАО11-10-2004 01:20 AM
Re: how often the OS buffer cache is sync'd.
A. Review Buffer Cache size
Review Buffer Cache size - Buffer cache is, by default, 50% of RAM (see kernel parameter dbc_max_pct(5)). A buffer cache sweet spot is 400 Mb or 20% of memory, whichever is smaller. But of course, this may vary from system to system. To check the current size of the buffer cache, either "sysdef | grep bufpages├в (and multiply by 4096 to approximate the current size of buffer cache) or use glance├в s memory screen to see what size ├в BufCache├в is.
Note: Although buffer cache is dynamic in size, decrease only occurs under memory pressure and then only decreases very slowly. So, the buffer cache often grows farily quickly to dbc_max_pct and only decreases (and slowly) when memory presssure is high.
R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 01:40 AM
тАО11-10-2004 01:40 AM
Re: how often the OS buffer cache is sync'd.
Thanks Duncan here is the start command is :
/usr/sbin/syncer && echo syncer started
From man syncer : "If seconds is not specified, the default interval is every 30 seconds."
Ok I'll give this to Progress Tech Support.
Victor and fred I'm interested in what you said :
I never really understand these parameter.
2 CPU 650 4Gb RAM
dbc_max_pct = 50 50 ...
dbc_min_pct = 5 5 ...
>What size buffer do you have?
If you mean db buffer ... note it is Progress DB : nearly 1Gb
>You could after change the way the JFS log works ...
How could I verify JFS is installed ( I don't think !)
here our basic filesys
/dev/vg01/data /Diap1/data vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
Best regards
Xavier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 01:59 AM
тАО11-10-2004 01:59 AM
Re: how often the OS buffer cache is sync'd.
With 4 GB I put dbc_max_pct at 10% and 5% for min
If Im short of RAM I even put less (8%)
Since You are buffering with progress, the good solution would be to add the oprion I and Fred mentioned earlier but as Fred said micache option requires Online-JFS, do you have the product installed?
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 02:00 AM
тАО11-10-2004 02:00 AM
Re: how often the OS buffer cache is sync'd.
JFS is certainly installed. Online JFS is installed if "swlist -l bundle" gives a line like this :
B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 02:28 AM
тАО11-10-2004 02:28 AM
Re: how often the OS buffer cache is sync'd.
Because there is other parameters we could go through such as I/O timeouts and queue lenght and depth
All the best
Victor