Sponsored Content
Special Forums Hardware Stack Overflow Questions Tags Users Badges Unanswered Ask Question Ask for the explanation of types Post 302897797 by vbe on Wednesday 16th of April 2014 05:41:04 AM
Old 04-16-2014
Well its like asking whats the difference between L1 and L2 cache in processors...
A buffer isnt big... just the size to bufferise correctly, a cache can be huge... the idea is having what is most accessed in cache to improve speed my not going to search on disk, and small enough to not loose too much time in searching when going to disk can be faster ( because data wasnt there... ) thus the importance of the cache algorithm...
 

8 More Discussions You Might Find Interesting

1. BSD

stack overflow in function psync_status Abort (core dumped)

I am running Open BSD 3.8 (3.5 upgrade) on a Pent Pro. 200, 64 Megs Ram, Nvedia Vanta TNT 16 Megs, Realtech 8139 Nic. When running ifconfig -a I get this error back. I've run searches on google no deal. I can get Stack overflow or psync, but not both. So I would really like to know how to fix it. ... (0 Replies)
Discussion started by: jmcpreach
0 Replies

2. UNIX for Advanced & Expert Users

Unanswered question

I have to get a file created through the crontab everyday but with a different name.. i.e., filename must have the date in it. e.g., abcd-12.10.2007.dat When I asked this on another forum of this very site.. I didn't get my answers.. so, just for the heck of it, I'm posting this here.... (0 Replies)
Discussion started by: pranavagarwal
0 Replies

3. HP-UX

Problem with stack overflow

Hi, I get a problem with stack overflow on HP-UX, when running a C program. Pid 28737 received a SIGSEGV for stack growth failure. Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz. The possible cause i found, was that the definition of a structure had... (0 Replies)
Discussion started by: karthikb23
0 Replies

4. Ubuntu

Stack overflow i guess while insmod

I have built kernel 2.6.35 on my Ubuntu system with some specific requirement. I also built some app defined module with the same kernel. I booted up the built version and I find it did not work properly as there is some gui and other modules missing problem. But the system booted up and I did... (0 Replies)
Discussion started by: sunilsukumar4u
0 Replies

5. UNIX for Dummies Questions & Answers

perform stack overflow

Help! I have an AIX system that has a power outage. When I logged in as root and got the system up and running it all looked ok. But.....when a user tries to log in they receive the error: The perform stack has overflowed OP=2117 PC=2124 E=46 in emmcshflif icrun is finished How can I fix... (1 Reply)
Discussion started by: dlegnar
1 Replies

6. UNIX for Advanced & Expert Users

Yahoo Interview unanswered questions

Hi guys, please help me get the answers of these questions which I faced in an interview @ Yahoo 1. I want to " ls " few million files, certainly I cannot do so because ls has some restriction in KBs, how can I do it alternatively. 2. Change the system in such a way that while booting up,... (2 Replies)
Discussion started by: gauravsharma29
2 Replies

7. What is on Your Mind?

New Badging System - Badges Prototype Beta 1 (Badges Only)

Today I mapped out the new badging system using FA icons, Beta 1 in no particular order except a 6 x 8 grid: https://www.unix.com/members/1-albums215-picture991.png The prototype HTML code for this layout: <style> .fa-badge-grid { font-size: 1.5em; } .row { ... (38 Replies)
Discussion started by: Neo
38 Replies

8. Windows & DOS: Issues & Discussions

Home Questions Tags Users Unanswered Windows 2016 DNS server returns SERVFAIL for non-existing doma

I have two DNS resolvers in /etc/resolv.conf file. The top one is Windows DNS server, and the bottom one is my wi-fi router. Please see below. nameserver 192.168.1.126 nameserver 192.168.1.1 In Windows DNS server, the sole "Forward Lookup Zone" is biman.net When I query for host in the zone... (6 Replies)
Discussion started by: broy32000
6 Replies
FS_SETCACHESIZE(1)					       AFS Command Reference						FS_SETCACHESIZE(1)

NAME
fs_setcachesize - Sets the size of the disk cache SYNOPSIS
fs setcachesize [-blocks <size (0 = reset)>>] [-reset] [-help] fs setca [-b <size (0 = reset)>>] [-r] [-h] fs cachesize [-b <size (0 = reset)>>] [-r] [-h] fs ca [-b <size (0 = reset)>>] [-r] [-h] DESCRIPTION
The fs setcachesize command changes the number of kilobyte blocks of local disk space available to the Cache Manager for its data cache, on machines that use a disk cache. The command is not operative on machines that use a memory cache. To return the cache size to the default value specified in the third field of the local /etc/openafs/cacheinfo file, provide a value of 0 to the -blocks argument. To return the cache size to the value set when the machine was last rebooted, use the -reset flag instead of the -blocks argument. This is normally the amount specified in the cacheinfo file, unless the -blocks argument was included on the afsd command to override the cacheinfo value. To display the current cache size and amount of cache in use, for both disk and memory caches, use the fs getcacheparms command. CAUTIONS
This command is not operative on machines using a memory cache, and results in an error message. To change memory cache size, edit the cacheinfo file and reboot, or reboot and provide the -blocks argument to the afsd command. On machines using a disk cache, do not set the cache size to exceed 85% to 90% of the actual disk space available for the cache directory. The cache implementation itself requires a small amount of space on the partition. OPTIONS
-blocks <size> Specifies the amount of disk space available for the Cache Manager to devote to the cache. The size should be a positive integer followed by an optional suffix: "K" for kibibytes (1024 bytes, the default), "M" for mebibytes (1024 kibibytes), "G" for gibibytes (1024 mebibytes), and "T" for tebibytes (1024 gibibytes). Provide a value of 0 to set cache size to the default specified in the cacheinfo file. -reset Returns the cache size to the value set when the machine was last booted. This agrees with the value in the cacheinfo file unless the -blocks argument was used on the afsd command. -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command sets the disk cache size to 25000 kilobyte blocks. % fs setcachesize -blocks 25000 Both of the following commands reset the disk cache size to the value in the cacheinfo file, assuming that the -blocks argument to the afsd command was not used. % fs setcachesize -blocks 0 % fs setcachesize -reset PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser root. SEE ALSO
cacheinfo(5), afsd(8), fs_getcacheparms(1) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 FS_SETCACHESIZE(1)
All times are GMT -4. The time now is 12:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy