- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: File header cache size
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
Forums
Discussions
Discussions
Discussions
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
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
08-01-2006 01:54 AM
08-01-2006 01:54 AM
Created 500 directories with 100 files each.
I put ACP_HDRCACHE on 55000.
Did a dir/siz=all of all files. Header hit rate 0% (fine).
Did a 2nd dir (same one). Also 0%.
I don't know the size of a file header but if it's 1 block or less than 2, why is then the hit rate 0 ?
Wim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 02:41 AM
08-01-2006 02:41 AM
Re: File header cache size
does the 'Maximum buffers in FCP cache' value returned by 'SHOW DEV/FULL disk' reflect your new increased value of ACP_HDRCACHE ?
Does SDA> CLUE XQP/CACHE show an approriately big value in the Poolcnt line in buffer pool #2 (file header blocks are allocated from buffer pool #2) ?
If no, you may need to reboot (maybe after running AUTOGEN ?!). The XQP buffers are allocated from paged pool, which is allocated when the system disk is mounted.
You can look at the cached file header buffers with SDA> clue xqp/Buff=2
To look at the file header buffer itself, use SDA> clue xqp/bfrd=
This is all 'interesting stuff' ;-)
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 02:57 AM
08-01-2006 02:57 AM
Re: File header cache size
Maximum buffers in FCP cache is 24. So far from 55.000.
Poolcnt is only C.
Clue xqp returns 11 rows only.
It's an AS500 but I didn't use autogen to modify the parameter. If I do a sysgen show it's on 55.000.
???
WIm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:13 AM
08-01-2006 03:13 AM
Re: File header cache size
enter MIN_ACP_HDRCACHE=55000 in MODPARAMS.DAT and run @AUTOGEN GETDATA GENPARAMS to see the effects on PAGEDYN. Then decide, if you want to activeate this parameter using @AUTOGEN GETDATA SETPARAMS and reboot.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:18 AM
08-01-2006 03:18 AM
Re: File header cache size
Pagedyn is now a lot higher (3.2M was 1.8).
All show/sda commands still hgave the same result.
No message was given during boot.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:30 AM
08-01-2006 03:30 AM
Re: File header cache size
55000 file headers (ACP_HDRCACHE) would need about 28 MByte of paged pool. One file header = one disk block = 512 bytes.
?!
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:30 AM
08-01-2006 03:30 AM
Re: File header cache size
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:35 AM
08-01-2006 03:35 AM
Re: File header cache size
Diff :
SYSMWCNT 38121 was 4026
PAGEDYN 32M was 1.8
and some autogen antenna tuning.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 04:58 AM
08-01-2006 04:58 AM
Re: File header cache size
now what about:
$ SHO DEV/FULL disk and Maximum buffers in FCP cache ?
SDA> CLUE MEM/STAT ! File System Cache params on 3rd page
$ SHO MEM/POOL should show Paged Dynamic Memory is use 28M or more.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 06:38 AM
08-01-2006 06:38 AM
Re: File header cache size
As said, all show commands result in the same value as before the autogen.
The new commands I will check tomorrow at 8 (German time=Belgian time).
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 05:30 PM
08-01-2006 05:30 PM
Re: File header cache size
I couldn't get my 96 MB PersonalAlpha Emulator to boot successfully with ACP_HDRCACHE set to 55000, so I couldn't test ;-(
Maybe you start with a slightly lesser value for ACP_HDRCACHE and work your way upwards.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 06:09 PM
08-01-2006 06:09 PM
Re: File header cache size
clue mem/stat shows ****.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 06:15 PM
08-01-2006 06:15 PM
Re: File header cache size
as I said, interesting stuff ;-)
SDA> SHOW PARA ACP_HDRCACHE
... ACP$GW_HDRCACHE ...
So it's a WORD ! Maybe start testing with 32000. - the ACP_HDRCACHE field width in SDA> CLUE MEM/STAT is only 4 chars anyway.
SDA> CLUE XQP/CACHE shows the overall cache buffer count in the BFRcnt - same as SHOW DEV/FULL shows in the 'Maximum buffers in FCP cache'
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 06:34 PM
08-01-2006 06:34 PM
Re: File header cache size
if BFRcnt is 24. (0x18), the initial allocation of the full block cache in PAGED POOL failed and you just get the MINIMUM number of buffers (reduced block cache).
There should have been a REDCACHE warning message (HELP/MESS REDCACHE) when mounting the system disk during startup.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 06:37 PM
08-01-2006 06:37 PM
Re: File header cache size
Went for 9999. Boot worked.
Maximum buffers in FCP : 10500.
Poolcnt : 270F
.../buf=2 3 lines only (after heavy use).
Did the dir for 11.000 files.
Almost no hits at all in clue mem/stat.
Tried a script that opened the files instead of dir (2 runs). Same result.
I wonder if only open files are kept in it ...
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 06:45 PM
08-01-2006 06:45 PM
Re: File header cache size
when reading file headers, the XQP reads them into the cache buffers. You are not mounting your disk(s) /NOCACHE ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 06:49 PM
08-01-2006 06:49 PM
Re: File header cache size
Buf in fcp is at 30500 and no, VMS didn't mount this system disk with nocache.
I get some hits but I think it's for the directory files.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 07:19 PM
08-01-2006 07:19 PM
Re: File header cache size
you can check with SDA> clue xqp/buf=2 and you'll see the file headers in the cache.
It will show you (for each file header), the UCB (SDA> SHOW DEV/ADDR=ucb), the LBN and the Lockbasis (=File ID). Then you can find out, which file this header belongs to. You should see lots of file headers in the cache (up to ACP_HDRCACHE).
If I do a DIR/SIZ=ALL disk:[*...], I see those file headers in the cache, but I also do get a File HDR hit rate of 10% or less.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 07:24 PM
08-01-2006 07:24 PM
Re: File header cache size
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 07:38 PM
08-01-2006 07:38 PM
Re: File header cache size
I'm able to achieve a 100% File HDR hit rate with a 2 directories containing 1217 files and 1286. file header buffers (in pool #2).
So some operation that you're performing seems to clear/flush the caches...
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 08:03 PM
08-01-2006 08:03 PM
Re: File header cache size
Did a dir in a loop : also 100% (for 100 files).
Did 2 different dir in a loop : also 100% (200 files).
Did 2 dir of 10 directories each in a loop : 100% (2000 files)
Did 2 dir of 11.000 files each : 0%.
Reduced number of files to 3800. Dir in a loop : 100%. BTW : with cache 5 times faster.
Increased to 5700 files. Again 0%.
As soon as the number of files is bigger than the cache the cache isn't used ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 08:12 PM
08-01-2006 08:12 PM
Re: File header cache size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 08:18 PM
08-01-2006 08:18 PM
Solution
BTW : with cache 5 times faster.
If you have a 100% hit rate from the File HDR cache, your CPU becomes the bottleneck, as all the headers are found in the cache and no disk IO is needed.
The buffer replacement algorithm for the buffer pools #0, #1 and #2 is: LRU = Leat Recently Used.
So yes, if the no. of files exceeds the no. of cache buffers, the file header cache won't help at all.
You can also flush the cache explicitly by e.g. using SET VOL/REBUILD disk
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 08:40 PM
08-01-2006 08:40 PM
Re: File header cache size
BTW : ana/sys display the % incorrect in clue mem/stat. Autogen however does it correctly.
Thanks Volker. Your the best.
Wim