- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: InterSystems Cache and XFC...
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
05-18-2006 03:32 AM
05-18-2006 03:32 AM
What are peoples experiences using XFC with InterSystems Cache on VMS? Has anyone tried (or is now doing) this?
Tnx,
Rich
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2006 04:21 AM
05-18-2006 04:21 AM
Re: InterSystems Cache and XFC...
Having seen the XFC cause dramatic performance improvements on other, non-Cache systems, I'd surely like to use a feature of the operating system that might improve I/O performance at no additional cost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2006 08:02 AM
05-18-2006 08:02 AM
Re: InterSystems Cache and XFC...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2006 07:49 PM
05-18-2006 07:49 PM
Re: InterSystems Cache and XFC...
You can mark the directory or db files of the dsm (=cache) with /nocache.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2006 08:50 PM
05-18-2006 08:50 PM
Re: InterSystems Cache and XFC...
http://dba.openvms.org/phorum/read.php?17,23,23#msg-23
Basically you disable XFC for the Cache files.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2006 05:11 AM
05-19-2006 05:11 AM
Re: InterSystems Cache and XFC...
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2006 06:13 AM
05-19-2006 06:13 AM
Re: InterSystems Cache and XFC...
When configuring the XFC on such a system, be sure to allocate most of the memory to Cache, and limit the amount of memory available to the XFC. As Jim McKinney mentioned, application-specific caching is almost always more efficient compared to general-purpose caching. I would only enable the XFC on a system where there is plenty of memory, and a large amount of free memory during peak times.
Caching can be disabled on the CACHE.DAT files with the SET FILE /CACHING_ATTRIBUTE=NO_CACHING command. Or, if there are disks housing nothing but CACHE.DAT files, the disk may be mounted using MOUNT /SYSTEM /NOCACHE to disable caching for that disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2006 06:42 AM
05-19-2006 06:42 AM
SolutionJim writes:
When configuring the XFC on such a system, be sure to allocate most of the memory to Cache, and limit the amount of memory available to the XFC. As Jim McKinney mentioned, application-specific caching is almost always more efficient compared to general-purpose caching. I would only enable the XFC on a system where there is plenty of memory, and a large amount of free memory during peak times.
Caching can be disabled on the CACHE.DAT files with the SET FILE /CACHING_ATTRIBUTE=NO_CACHING command. Or, if there are disks housing nothing but CACHE.DAT files, the disk may be mounted using MOUNT /SYSTEM /NOCACHE to disable caching for that disk.
---
I'd add something else. Very much depends
on environment. Let's say you have 4 Cache
instances per node and 4 GBytes of physical.
As per Intersystems RECs, you would size
your RESERVED_MEMORY to 2 MByte * # users
per instance.
So let's say that works out to 128 MBytes.
What would you do? I guess do what they ask,
now XFC being turned on is working with
2 GBytes and each instance 128 MBytes. Do
you turn off XFC on Cache.dat files? I'd
say no as when you go in SDA and view XFC
hits you see good numbers *in many cases*,
poor in other cases (regarding cache.dat).
So clearly XFC is helping - double caching
and all! Now where vendor caching wins out
is they don't have to flush their cache.
XFC will flush cache on those volumes as
write demon timer runs down every 80 seconds
so you will always see a ping-ponging of
cache pages for volumes that are pretty
write active.
One are you would see very good hits is
down through the installation (OPG]CACHE.DAT
, MGR]CACHE.DAT area). Those cache.dat
are read-only (my guess) for security, etc.
Now maybe you have a single instance with
1000 users and 4 GBytes of memory. With
that as a model, I would run with XFC
disabled on cache.dat files as per Intersystems, they would want you to size
your reserved memory at or near 2 GBytes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2006 06:47 PM
05-21-2006 06:47 PM
Re: InterSystems Cache and XFC...
If you give a lot of memory to XFC and you go out of virtual memory, the memory used by XFC is not reclaimed, or at least not as I would expect. Then you better have BI and AI journaling on your Cache stuff (we don't on DSM and may loose 1 second of data on each crash).
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2006 11:11 PM
05-21-2006 11:11 PM
Re: InterSystems Cache and XFC...
You might want to check if DSM uses io$m_novcache internally for its i/o.
FWIW, my vote is turn off XFC for database files especially as Cache seems smart enough to use the reserved memory registry. (Like Orrible Oracle). If only Rdb did :-( Still, they're trying to push people towards XFC. But then if all your eggs are in the one Row Cache basket I guess your options are limited.
Regards Richard Maher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2006 12:56 PM
05-22-2006 12:56 PM
Re: InterSystems Cache and XFC...
Rich,
You haven't clarified: is your main concern 1) to improve cache performance or 2) to improve performance of non cache file I/O on the same system (but you're concerned about data safety with XFC enabled)?
If 1), what you get from ^GLOSTAT when you cache system is busy (do a timed run of a minute or so)... As I recall Intersystems says 'global efficiency' over 100 is 'good'. It appears to be (global refs)/(block reads+block writes). As others have said, increasing the size of the global buffer memory is probably the best way to improve this.
Has anybody out there done any measurements of global efficiency as a function of the size of their cache global buffer pool? These parameters are unfortunately inconvenient to change on heavily used systems:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 09:31 AM
05-28-2006 09:31 AM
Re: InterSystems Cache and XFC...
I *think* XFC is smart enough not the cache the Cache's cache.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 03:49 AM
06-06-2006 03:49 AM
Re: InterSystems Cache and XFC...
Tom has a question for me so I'll address it. What I'm looking to do is see if I *have* to turn off XFC - currently, it's on. I have been concerned about the "double overhead" of caching what Cache` caches. The responses have been *very* informative for me and worthwhile, so I'm going to leave it turned on, but mark each cache` disk as /nocache during mounting (DB disks only). It seems that that would make the most sense. The GLOSTAT info is very inconvenient since a shutdown is tough to get. Almost as easy as "defraging a DB" by restoring it from tape :^)
Thanks again to everyone for your thoughts and responses.
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 04:09 AM
06-06-2006 04:09 AM
Re: InterSystems Cache and XFC...
I put a Set File /Caching=No_Caching dev:[*...]cache.dat;* temporarily (one-shot)in the system startup before the IDX startup so that the existing Cache files would not be cached (and this attribute should be inherited by any copies). And then I enabled XFC with the default settings. We run with a 1GB Cache reserved memory area and the XFC is running about 1.5GB (on a 4GB DS20e).
XFC read hits are running about 20% and none of the Cache databases are cached. Seems to be performing well.
Mike
Group Health Associates, A TriHealth Company
Cincinnati, OH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 04:22 AM
06-06-2006 04:22 AM
Re: InterSystems Cache and XFC...
but mark each cache` disk as /nocache during mounting (DB disks only).
Mounting a disk /NOCACHE will also disable all file system caches - this may not be what you want. There is no qualifier yet, which allows you to just disable the XFC data cache per mounted volume.
Consider to go with SET FILE/NOCACHE on the database files to explicitly tell XFC to not cache those files, as already suggested by others.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 09:53 AM
06-06-2006 09:53 AM
Re: InterSystems Cache and XFC...
The only files on those disks would be Cache` files so, since I don't want them cached anyway, it would be ok to do. VMS would not be expected to cache them.
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 11:22 AM
06-06-2006 11:22 AM
Re: InterSystems Cache and XFC...
What's your global efficiency with GLOSTAT now, and what's the current size of "globals" in the .CPF?
I just did a 300 second measurement here:
global efficiency - 126
With a 2.44Gb vms reserved section used for cache globals - approx. 700 users on this node (one of four in a clustered cache configuration).
Anyone else who is using perhaps larger sections care to post?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 02:24 PM
06-06-2006 02:24 PM
Re: InterSystems Cache and XFC...
>>----------------------------
>> I just recently took responsibility for an IDX Cache system.
Hi Mike,
Are you the OpenVMS Ambassadors Mike Kier from Ohio?
Sean me an Email some day.
Good to see you got a good gig!
Congrats!
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 11:13 PM
06-06-2006 11:13 PM
Re: InterSystems Cache and XFC...
Yup, one and the same. Great to hear from you - it was good to see your photo from the Bootcamp!
It took a lot longer than I'd hoped to find a position and its still got some uncertainty around it (another company undergoing acquisition and reductions - I feel right at home) but its great to be back working with VMS again.
I've only been on board about 6 weeks on a 3 month contract-to-hire, so it was too late to make it to the Bootcamp this time around, but maybe next year!
I'm at mike_kier@cgha.com.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 01:11 AM
06-07-2006 01:11 AM
Re: InterSystems Cache and XFC...
This is a 2 node cluster (v7.3-2, Cache 5.0.05, ES47's - 16GB mem, EVA5000 1.9 TB)
On the Master node, efficiency is 193%, on the "slave" it's 60%. I'm guessing that's probably ok since the "slave" doesn't do it's own writes & has to go through all the communication protocol processes (SW_1-7), so I'm expecting it to be less; no?
We normally have ~450 users on each node and the current size of GLOBALS is 1418 in the *.CPF
FWIW - Show mem/cache/full shows:
In use (GBytes) 1.44
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 03:38 AM
06-07-2006 03:38 AM
Re: InterSystems Cache and XFC...
I think any system in a vms cache cluster can do its own writes... Yesterday I was seeing less global efficiency on the master here than some others (it seems to vary a lot).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 09:54 AM
06-08-2006 09:54 AM
Re: InterSystems Cache and XFC...
I don't know if XFC will cache files that are open for write on multiple nodes. So it may be a moot point anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 11:14 AM
06-08-2006 11:14 AM
Re: InterSystems Cache and XFC...
One thing I've noticed in connection with this - the absolute counters roll over quickly on a large system - giving goofy results. I zeroed the counters on all nodes yesterday and some of the counters on the master have already rolled over. In particular, the global refs. appears to be an unsigned 32 bit counter.
Maybe we should think about saving/zeroing them every night around the time journals are rolled, or even more frequently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 01:24 AM
06-09-2006 01:24 AM
Re: InterSystems Cache and XFC...
I meant to get back to Mike K & Volker H earlier, but forgot to put it in my previous response.
I was thinking mount/nocache for the disk because it would be less overhead than individual files on the disk since there are only cache' files on the disk - no? I was thinking the directory caching would still be active - yes? Am I mis-understanding this?
Cass W - I didn't really want caching turned on; just "stumbled" on to finding it on when I was checking on a "system slow" problem (that has "disappeared" btw and not been seen since... gotta love it) I thought I had it off. I agree on the extra CPU activity.
Tom - I'm trying the ^GLOSTAT counter zero-ing now - I'll let you know how it goes. Seems like a good idea tho'.
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 05:36 AM
06-09-2006 05:36 AM
Re: InterSystems Cache and XFC...
when mounting a disk /NOCACHE, you are turning off all caching (including the XQP=File System caches). See $ HELP MOUNT/CACHE
Volker.