Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory SSD Caching, how its done, right choice? Post 302888164 by postcd on Thursday 13th of February 2014 03:13:17 AM
Old 02-13-2014
Tools SSD Caching, how its done, right choice?

Hello,

someone needed VPS with SSD caching, he want to use server for websites hosting. What does that mean, this SSD caching and is it optimal solution for this? Also i listen some SSD dont like too much of writting so how one can recognise certain SSD is made the way that its not destroyed soon by writting data (i mean when one have webserver, it is non stopping writting and erasing of data and server need to run like 2 yers...?
 

7 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Hard Disk parameters (caching/dma)

Linux uses hdparm to set these parameters, my question is: what tool uses BSD systems (FreeBSD/OpenBSD/NetBSD)? There is another thing which FreeBSD implements on their filesystems: softupdates. If I forgot to enable this option when I partitioned the disk, how could I enable it at a later time? (1 Reply)
Discussion started by: eNTer
1 Replies

2. UNIX for Dummies Questions & Answers

Squid not caching properly

Hi guys, Not sure if this post is in the right thread, if not please let me know and I'll ask for it to be moved ) : I've set up the Squid proxy on my linux box (SuSE 10.1). About 4 people connect to the Internet via the proxy at the moment, and it's working fine. However - in the... (0 Replies)
Discussion started by: Aeros
0 Replies

3. UNIX for Dummies Questions & Answers

Caching while spliting a large file

Hi The scenario is like this. I need to split 5 files having size 3GB, 2GB, 4GB, 30GB and 20 GB respectively. The machine has 15GB heap space. Before starting split proces it was showing 15gb free space. Once the split process completed it showed 100 mb free and around 12GB cached. My... (3 Replies)
Discussion started by: siba.s.nayak
3 Replies

4. Linux

caching in squid

hi, i installed fedora core 12, and i installed squid v 3, i need to know how can i cache everything. anyone can help me please (1 Reply)
Discussion started by: zazoo
1 Replies

5. Shell Programming and Scripting

Caching find command

Hi, Is there a command which caches the results of the find, so the subsequent searches for file/file-pat are faster. Thanks, Nagarajan G (2 Replies)
Discussion started by: ennstate
2 Replies

6. Red Hat

Squid Caching Issue

Hi frnds I recently configured Squid 2.5 stable version on my redhat machine.Caches are storing in my disk (/var/spool/squid) but my access.log file always shows tcp_miss for every site i access as well as store.log file shows release on every action. some of the records of my... (6 Replies)
Discussion started by: Vaibhav.T
6 Replies

7. Solaris

Is there disk-level caching in Solaris 11?

I have an iSCSI disk at /dev/rdsk/c5t6d0 I have made a partition (slice with UEFI label) at: /dev/rdsk/c5t6d0s0 Now I write some data to the slice: echo "xyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxy" >/text dd if=/text of=/dev/dsk/c5t6d0s0 If I dump the disk contents I... (2 Replies)
Discussion started by: dorbaruch
2 Replies
LDAP_CACHE(3)						     Library Functions Manual						     LDAP_CACHE(3)

NAME
ldap_enable_cache, ldap_disable_cache, ldap_destroy_cache, ldap_flush_cache, ldap_uncache_entry, ldap_uncache_request, ldap_set_cache_options - LDAP client caching routines SYNOPSIS
#include <ldap.h> ldap_enable_cache( ld, timeout, maxmem ) LDAP *ld; long timeout; long maxmem; void ldap_disable_cache( ld ) LDAP *ld; void ldap_destroy_cache( ld ) LDAP *ld; void ldap_flush_cache( ld ) LDAP *ld; void ldap_uncache_entry( ld, dn ) LDAP *ld; char *dn; void ldap_uncache_request( ld, msgid ) LDAP *ld; int msgid; void ldap_set_cache_options( ld, opts ) LDAP *ld; unsigned long opts; DESCRIPTION
These routines are used to control the behavior of the experimental client caching of ldap_search(3) and ldap_compare(3) operations. By default, the cache is disabled and no caching is done. Enabling the cache can greatly improve performance and reduce network bandwidth when a client DUA makes repeated requests. ldap_enable_cache() should be called to turn on local caching or to change cache parameters (lifetime of cached requests and memory used). The ld parameter should be the result of a successful call to ldap_open(3). The timeout is specified in seconds, and is used to decide how long to keep cached requests. The maxmem value is in bytes, and is used to set an upper bound on how memory the cache will use. You can specify 0 for maxmem to restrict the cache size by the timeout only. The first call to ldap_enable_cache creates the cache; subsequent calls re-enable the cache and set the timeout and memory values. ldap_disable_cache() temporarily disables use of the cache (new requests are not cached and the cache is not checked when returning results). It does not delete the cache contents. ldap_destroy_cache() turns off caching and completely removes the cache from memory. ldap_flush_cache() deletes the cache contents, but does not effect it in any other way. ldap_uncache_entry() removes all requests that make reference to the distinguished name dn from the cache. It should be used, for example, after doing an ldap_modify(3) call involving dn. ldap_uncache_request() removes the request indicated by the LDAP request id msgid from the cache. ldap_set_cache_options() is used to change caching behavior. The current supported options are LDAP_CACHE_OPT_CACHENOERRS to suppress caching of any requests that result in an error, and LDAP_CACHE_OPT_CACHEALLERRS to enable caching of all requests. The default behavior is to not cache requests that result in errors, except that request that result in the error LDAP_SIZELIMIT_EXCEEDED are cached. ERRORS
ldap_enable_cache() returns 0 upon success, and -1 if it is unable to allocate space for the cache. All the other calls are declared as void and return nothing. SEE ALSO
ldap(3), ldap_search(3), ldap_compare(3) ACKNOWLEDGEMENTS
OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OpenLDAP is derived from University of Michigan LDAP 3.3 Release. OpenLDAP 2.1.X 22 September 1998 LDAP_CACHE(3)
All times are GMT -4. The time now is 07:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy