Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cache::sizeawaresharedmemorycache(3pm) [debian man page]

Cache::SizeAwareSharedMemoryCache(3pm)			User Contributed Perl Documentation		    Cache::SizeAwareSharedMemoryCache(3pm)

NAME
Cache::SizeAwareSharedMemoryCache -- extends Cache::SizeAwareMemoryCache DESCRIPTION
The SizeAwareSharedMemoryCache class adds the ability to dynamically limit the size (in bytes) of a shared memory based cache. This class also implements the SizeAwareCache interface, providing the 'max_size' option and the 'limit_size( $size )' method. SYNOPSIS
use Cache::SizeAwareSharedMemoryCache; my $cache = new Cache::SizeAwareSharedMemoryCache( { 'namespace' => 'MyNamespace', 'default_expires_in' => 600, 'max_size' => 10000 } ); METHODS
See Cache::Cache and Cache::SizeAwareCache for the API documentation. OPTIONS
See Cache::Cache and Cache::SizeAwareCache for the standard options. PROPERTIES
See Cache::Cache and Cache::SizeAwareCache for the default properties. SEE ALSO
Cache::Cache, Cache::SizeAwareCache, Cache::SharedMemoryCache AUTHOR
Original author: DeWitt Clinton <dewitt@unto.net> Last author: $Author: dclinton $ Copyright (C) 2001-2003 DeWitt Clinton perl v5.12.4 2009-03-01 Cache::SizeAwareSharedMemoryCache(3pm)

Check Out this Related Man Page

Cache::Object(3pm)					User Contributed Perl Documentation					Cache::Object(3pm)

NAME
Cache::Object -- the data stored in a Cache. DESCRIPTION
Object is used by classes implementing the Cache interface as an object oriented wrapper around the data. End users will not normally use Object directly, but it can be retrieved via the get_object method on the Cache::Cache interface. SYNOPSIS
use Cache::Object; my $object = new Cache::Object( ); $object->set_key( $key ); $object->set_data( $data ); $object->set_expires_at( $expires_at ); $object->set_created_at( $created_at ); METHODS
new( ) Construct a new Cache::Object. PROPERTIES
(get|set)_accessed_at The time at which the object was last accessed. Various cache implementations will use the accessed_at property to store information for LRU algorithms. There is no guarentee that all caches will update this field, however. (get|set)_created_at The time at which the object was created. (get|set)_data A scalar containing or a reference pointing to the data to be stored. (get|set)_expires_at The time at which the object should expire from the cache. (get|set)_key The key under which the object was stored. (get|set)_size The size of the frozen version of this object SEE ALSO
Cache::Cache AUTHOR
Original author: DeWitt Clinton <dewitt@unto.net> Last author: $Author: dclinton $ Copyright (C) 2001-2003 DeWitt Clinton perl v5.12.4 2009-03-01 Cache::Object(3pm)
Man Page

14 More Discussions You Might Find Interesting

1. Linux Benchmarks

AMD 1.2 Gentoo 1.4.3.8p1

Notes: CPU/Speed: 1195.993 Ram: 503 Megabytes Motherboard: biostart m7vkb Bus: Cache:256 KB Controller:VT82C586A Disk:Maxtor 93073U6 Load: Kernel:2.4.20-xfs-r3 Kernel ELF?: yes pgms: Results: BYTE UNIX Benchmarks (Version 3.11) System -- Linux box 2.4.20-xfs-r3 #1... (1 Reply)
Discussion started by: tnorth
1 Replies

2. Linux Benchmarks

Sun Ultra30, Gentoo 1.4.3.10p1

Notes: CPU/Speed: UltraSparcII 296Mhz Ram:512M Motherboard: Bus: Cache: Controller: Disk: SEAGATE Model: ST34371W SUN4.2G Load: Kernel: Kernel ELF?: pgms: Results: BYTE UNIX Benchmarks (Version 3.11) System -- Linux box 2.4.21-sparc-r1 #1 Wed Oct 1 12:32:52 EDT 2003... (0 Replies)
Discussion started by: tnorth
0 Replies

3. Linux Benchmarks

Athlon XP3200 (@2236Mhz)

CPU/Speed: Athlon XP3200 @ 2236mhz Ram: 1GB DDR (344mhz) Motherboard: Abit NF7-S Cache: 512k on board Controller: Integrated Nforce2 Disk: 120Gb WD Special Edition, 40gb WD Caviar Load: 1 user. Clean boot, init 5 but X-Windows not loaded. Kernel: 2.6.5 pgms: gcc 3.2.3 Distribution:... (0 Replies)
Discussion started by: Garp
0 Replies

4. HP-UX

Buffer Cache

What is the "Buffer Cache" used for? (1 Reply)
Discussion started by: ALTRUNVRSOFLN
1 Replies

5. Solaris

Unix Cache / Buffer

Does anyone know how the unix buffer / cache is set in a Solaris based system ? ( I presume it is a kernel based setting ) I notice from SAR -d that my read cache is consistently at 100% but my write cache frequently falls below 65%. What does this mean. Should I be tuning the write cache and... (1 Reply)
Discussion started by: jimthompson
1 Replies

6. Solaris

ARP Cache

Dear all, We are testing two of our servers for mq series connectivity. The scenario is, when one machine is shutting down it's services there are some scripts that do a dns update, which removes the ip address and relates it to the ip address of the other node on our dns server, and the update... (7 Replies)
Discussion started by: earlysame55
7 Replies

7. IP Networking

DNS Cache-Only Config Advice

Hi Chaps and Chappettes, I've had a short period of time recently to learn and implement DNS cache-only in our organisation. Trouble is, according to my tcpdumps, the amount of traffic on port 53 has increased. This is of course the exact opposit of the desired effect. Would y'all mind looking... (2 Replies)
Discussion started by: danny.hudson
2 Replies

8. Linux

getting info on Cache Size, Data Cache etc..

Hi all I saw in Microsoft web site www.SysInternals.com a tool called CoreInfo from able to print out on screen the size of the Data and Instruction caches of your processor, the Locigal to Physical Processor mapping, the number of the CPU sockets. etc.. Do you know if in Linux is available a... (2 Replies)
Discussion started by: manustone
2 Replies

9. UNIX for Dummies Questions & Answers

Help with cygwin and cache simulators

I've just installed cygwin to run some well known Cache Simulators in a UNIX enviroment. I have installed cygwin according to the install instructions. Every time i try to run a make file from any of these simulators, I get the same exact error: And the makefiles do not work. Is there any... (3 Replies)
Discussion started by: sparklezilla3
3 Replies

10. Solaris

Corrupted Cache errors in /var/adm/messages

Hi, I am getting the following errors (thousands of these every min)..OS is solaris9...have no idea whats the cause and how to stop it..I am pasting only a few samples...any answers greatly appreciated corrupted cache (binding): 0xec7e corrupted cache (binding): 0x636f6d00 corrupted cache... (1 Reply)
Discussion started by: gkr747
1 Replies

11. UNIX for Advanced & Expert Users

echo 1 > /proc/sys/vm/drop_caches a good idea?

Hi folks. I work with several production servers, and I have seen in some Kernel Cache using most of the memory. See this pic: http://i51.tinypic.com/301nb6c.jpg Do you think this is a smart choice? Remember these are productions servers and it is extremely necesary this does not... (6 Replies)
Discussion started by: erick_tuk
6 Replies

12. Red Hat

Need to release Cache memory

Right now i am using Red Hat Enterprise Linux AS release 4 and cache memory occupying around 1.5GB mentioned below, total used free shared buffers cached Mem: 2026 2021 5 0 161 1477 -/+ buffers/cache: 382 1644 ... (4 Replies)
Discussion started by: thakshina
4 Replies

13. Red Hat

Cache line size set incorrectly - Installing Redhat 9.0

Hi everyone, my name is chinx. I am new to Linux and new to this forum. I am trying to install Red Hat 9.0 on my MSi Laptop. But when I try to boot the CD, after selecting either GUI or CLI type of installation, I get this: PCI: 00.03.3 PCI cache line size set incorrectly (32 bytes) ... ... (1 Reply)
Discussion started by: LinuxNewbs
1 Replies

14. AIX

Strange memory behavior

Hello together, i have a strange memory behavior on a AIX 7.1 System, which i cannot explain. The Filesystem-Cache will not be grow up and drops often after few minutes. I know if a file was deleted, that the same segment in the FS-Cache will also be cleared. But i am not sure if this is the... (8 Replies)
Discussion started by: -=XrAy=-
8 Replies