General :: Difference Between Hardware Cache And Slab Cache?

Nov 22, 2010

I am reading slab allocator, it defines slab cache, i am quite confuse is it same as hardware cache?

View 2 Replies


ADVERTISEMENT

CentOS 5 :: Slab-cache Increasing Size-2048?

Jun 28, 2010

On a full update centos 5.5 64 bit every day increases slab cache , specialy size-2048 eat a lot of memory ..

how can change this ? maybe a kernel bug ?

cat /proc/slabinfo
slabinfo - version: 2.1
# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>

[Code]....

View 1 Replies View Related

Fedora :: Error: Caching Enabled But No Local Cache Of //var/cache/yum/updates-newkey

Sep 24, 2009

I don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?

Quote:

Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey

I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.

View 12 Replies View Related

Software :: Redirecting APT Cache - Can Redirect Cache Of Apt To A Specified Folder Either On Command Line Or Via A Config Setting?

Jan 5, 2011

I was laughing about klackenfus's post with the ancient RH install, and then work has me dig up an old server that has been out of use for some time. It has some proprietary binaries installed that intentionally tries to hide files to prevent copying (and we are no longer paying for support or have install binaries), so a clean install is not preferable.

Basically it has been out of commission for so long, that the apt-get upgrade DL is larger than the /var partition (apt caches to /var/cache/apt/archives).

I can upgrade the bigger packages manually until I get under the threshold, but then I learn nothing new. So I'm curious if I can redirect the cache of apt to a specified folder either on the command line or via a config setting?

View 2 Replies View Related

Server :: Squid Cache System - Make It Cache All Files Like .exe .mp3 .avi

Mar 6, 2011

I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid

View 1 Replies View Related

Ubuntu :: Kept Getting "gtk-update-icon-cache: The Generated Cache Was Invalid" Fault

Feb 17, 2010

i was looking for a way to stop my menus taking a few seconds to load my icons when i first open them and found a few guides suggesting using the gtk-upate-icon-cache command, but with the any colour you like icon theme i'm using (stored in my home folder .icons directory) i kept getting a "gtk-update-icon-cache: The generated cache was invalid." fault i used the inbuilt facility in the acyl script to copy the icons to the usr/share/icons directory and tried the command again, this time using sudo gtk-update-icon-cache --force --ignore-theme-index /usr/share/icons/ACYL_Icon_Theme_0.8.1/ but i still get the same error. i tried with several of the custom icon themes i've installed and only 1 of the first 7 or 8 i tried successfully created the cache.

View 4 Replies View Related

General :: Arp Cache Not Showing Anything?

Mar 7, 2010

when i type arp -n it shows nothingif i type arp -vit showsskipped :0 found :0I want to look at my ip and mac addresses in arp cacheif i change my ethernet ip address it is not reflected or stored in the cache.

View 4 Replies View Related

General :: Windows - Using One Disk As Cache For Others

Jan 6, 2011

Given a PC with several hard drives:

Is it possible to use one fast disk as a giant file cache?

I.e. automatically copying frequently accessed data to that one disk, and transparently redirecting reads and writes to that disk, so that other drives would only have be accessed occassionally.

(writes would have to be forwarded to the other disks after a while of course)

Advantages:

The other drives could be powered down most of the time; reducing power, heat, noise speed of the other drives would not matter much. cache disk could be solid state.

How can I set such a system up?

What OS supports these options? Is this possible at all using Windows or Linux?

Example:

There are 3 disks with 1 Tb each. most of the files are only accessed very rarely, but about 5% of each disk is used frequently.

Which files are used frequently may change over time.

A solid state disk with 150GB should cache the currently frequently accessed files, so that access time is faster and the drives can be put into power saving mode.

View 3 Replies View Related

General :: Ignore 'no-cache' Header?

Apr 25, 2011

I use Ubuntu, and Google Chrome mostly. How can I kill these HTTP headers, so that my browser caches this data? I believe it is XHR. Here are the relevant HTTP response headers:Cache-Control:no-cache, no-store, must-revalidate Pragma:no-cache.I also have Firefox, is there a plugin or something I can use to not respect "no-cache"?

View 1 Replies View Related

General :: Local Cache For Apt Packages?

Jun 28, 2011

I have a desktop and laptop at home, both running the same flavour of Debian Testing. How can I configure apt on the laptop so that it first tries to download the packages from the desktop before going to the Internet?

View 2 Replies View Related

General :: Cache File's Name And HD Position?

Jul 1, 2011

I'd like to improve my computer's performance by storing files' system location (e.g.: /home/user/speech.odt) and HD position (head, sector, etc) and do the computer use that info from ram memory.I have a directory with several files and when I cd and ls it, it takes a while to the computer answer me. Plus, it would return immidiate find results.

View 2 Replies View Related

General :: Disable Processor Cache ?

Feb 14, 2011

I want to disable processor cache or in other words, want to read write data directly from RAM... Is there any way to make it possible? I am talking about on chip cache memory not any disk cache stuff.

View 1 Replies View Related

General :: How To Check Squid Cache

Nov 11, 2010

I recently finished installing Squid 3.1.9 and I think I've done installing correctly with its feature of minor configuration changes. It accepted requests on port 3128 and created and the created some numerical or binary (I guess) files in /usr/local/squid/var/logs, My problem is how can I fully verify if the cache is really storing Internet Files? I've read some forums in the Internet replied to me to try the command: cat /usr/local/squid/var/logs/cache.logSo I did tried it and it gives me this output:

2010/11/11 18:04:49| store_swap_size = 0
2010/11/11 18:04:50| storeLateRelease: released 0 objects
2010/11/11 18:05:41| Squid is already running! Process ID 5458

[code]....

View 1 Replies View Related

General :: Is It Ok To Delete Everything In /var/cache/apt/archives

Aug 4, 2010

There is this directory with a lot of .deb files in it. /var/cache/apt/archives

Can i delete all these files in that directory? is it safe? They are temporary files right?

View 5 Replies View Related

General :: Use Of Bind & Cache Pkg In DNS Server?

May 11, 2010

what is the use of bind & cache Pkg in DNS server is it posssible to configure DNS without cache & how

View 2 Replies View Related

General :: Clear Bad Shortcuts From Gnome-do Cache?

Feb 11, 2010

I am using ubuntu and gnome-do and have in my gnome-do some bad shortcuts ( they even have a grey X icon ) that i cant figure out how to delete from the list. I thought gnome do has some cache but its been a while and they are still there :(

how to clear them from the list ?

Update: I deleted the ~/local/share/gnome-do folder and still no success

View 3 Replies View Related

General :: Why Is Fc-cache Not Installing Fonts In Fedora 15

Apr 5, 2011

I have all the fonts I want in the directory ~/winFonts. In this directory there are a number of symlinks to the real font files. Now I run

fc-cache -fv .winfonts

And I see a message saying 453 new fonts, but I can't seem to use these fonts in any application.

View 1 Replies View Related

General :: Make Firefox Not Cache Data?

Mar 4, 2010

I don't want my Firefox browser to store anything in a cache. Is there a way to shut the cache off?

View 6 Replies View Related

General :: Relocating Firefox Cache To RAM Not Working?

Dec 17, 2010

Firefox has this nasty habit of wanting to write to disk just as it's spinning down when I'm on battery...this is of course annoying because it'll probably shorten the life of the disk (it's doing it as I type this post!)

I figured that a solution to that would be to set FF's cache to be in a RAM disk instead of on the hard disk, so I tried following this guide on the Arch Wiki to set it up (the "Relocating only the cache" section). I followed it to the T, and it did nothing to change FF's disk usage. I even tried adding a /tmp entry in /etc/fstab that would supposedly mount /tmp on a RAM disk and pointed FF's cache to that...still no cigar.

My /etc/fstab:

Code:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
devpts /dev/pts devpts defaults 0 0

[Code]....

What is it that I'm missing here? Is my fstab incorrect? Is there something else I need to do in FF? I've searched Google and LQ about this issue and couldn't find anything other than the same instructions found on the Arch Wiki and the /tmp fstab entry idea.

View 5 Replies View Related

General :: Avoid DNS Cache Flush- Reboot?

Oct 21, 2010

idea to store the dns cache over the reboot in linux(which should not flush the dns cache on reboot).

View 2 Replies View Related

General :: Bash Command For Getting L2 And L3 Cache Size?

Sep 4, 2010

How do I get the L2 and L3 cache size?

View 4 Replies View Related

General :: Remove A Package In A Local Cache?

Oct 7, 2010

how should i remove a package in a local cache? i tried removepkg packagename.txz and itdeleted its files. but then i tried to install it back, it says its in the local cache so it didn't download the package but instead it installs it right directly. i want it to downloadit once again because the package isn't working.

View 3 Replies View Related

General :: How To Automatically Delete Squid Cache

Oct 23, 2010

I'm using squid as a proxy in our organization. My problem is whenever the squid cache folder size exceeds 3 GB our proxy server starts to hang. Is there a way to write a script that it will automatically delete the squid cash when it exceeds the 3GB limit.

View 7 Replies View Related

General :: Syn-cache Mechanism - NetBSD Project?

Jul 27, 2010

I have a general question and decided to post it here. Hopefully, I have picked a correct category. The thing I have been trying to figure out is the syn-cache mechanism. I know that it used to be utilized as a method to mitigate the impact of (D)DoS attacks. I would like to know what happened with it? Is it still added to the Linux systems? Perhaps I am missing something, and cannot find the correct man page about it. Is it the thing, that it is only for NetBSD project?

View 5 Replies View Related

General :: Performance - Best Available Technology For Layered Disk Cache

Oct 17, 2010

I've just bought a 6-core Phenom with 16G of RAM. I use it primarily for compiling and video encoding (and occassional web/db). I'm finding all activities get disk-bound and I just can't keep all 6 cores fed. I'm buying an SSD raid to sit between the HDD and tmpfs. I want to setup a "layered" filesystem where reads are cached on tmpfs but writes safely go through to the SSD. I want files (or blocks) that haven't been read lately on the SSD to then be written back to a HDD using a compressed FS or block layer.

So basically reads:
- Check tmpfs
- Check SSD
- Check HD

And writes: - Straight to SSD (for safety), then tmpfs (for speed) And periodically, or when space gets low: - Move least frequently accessed files down one layer. I've seen a few projects of interest. CacheFS, cachefsd, bcache seem pretty close but I'm having trouble determining which are practical. bcache seems a little risky (early adoption), cachefs seems tied to specific network filesystems. There are "union" projects unionfs and aufs that let you mount filesystems over each other (USB device over a DVD usually) but both are distributed as a patch and I get the impression this sort of "transparent" mounting was going to become a kernel feature rather than a FS.

I know the kernel has a built-in disk cache but it doesn't seem to work well with compiling. I see a 20x speed improvement when I move my source files to tmpfs. I think it's because the standard buffers are dedicated to a specific process and compiling creates and destroys thousands of processes during a build (just guessing there). It looks like I really want those files precached.....

View 1 Replies View Related

General :: Memory Cache Losing Sync With Disk?

Nov 3, 2010

(Ubuntu Linux server, 64-bits)I was troubleshooting a problem with a file (~3.0 GB) which I had just downloaded, but it was failing the integrity test, when I discovered something really unusual.First this is the MD5 of the file after download, which didn't match the expected value:

~% md5sum media.iso
5d74facb904cc1765a468354908a8f34 media.iso

Some time passes, nothing should have changed the file during this time, but when I went to check the file again:

~% md5sum media.iso
a5b97c5016afb39bd67ccfc3fa6ca59e media.iso

This was really unexpected. Since I have a lot of RAM, I suspected this was the effect of caching and something was going awry with it. I decided to retry with the whole file from disk, for my surprise:

~% sudo sysctl -w vm.drop_caches=3 # This linux command invalidates
vm.drop_caches = 3 # everything in the memory cache.
~% md5sum media.iso
2992aa6270f6e1de9154730ed3beedc1 media.iso

I redid it and now it seems to stay consistent, although this still isn't the value I was expecting. Certainly, the contents in memory cache were different from the contents on disk.This is the big problem.To fix the download, I created a torrent on the source machine and opened it in the target machine. Five 1MB chunks out of ~3.0GB failed integrity check. I used the torrent to fix these file chunks and how the file integrity is ok.The problem now is to determine where the data got out-of-sync.

I tested the memory with memtest86+, all but the bit fading test. I was expecting to see some failing memory module, but there wasn't anything. Everything is ok.Filesystem is Ext4, over LVM2, over a 3-disk RAID5 array.Ext4 is considered stable, and if data were inconsistent between disks, mdadm would have warned. But there is nothing in the logs. S.M.A.R.T. error logs are clean, the disks are new (have less than 30 days of "power-on-hours").I'm looking for information about any data-loss bugs in my current kernel (2.6.35), but there doesn't seem to be anything, as far as I looked.what else I could check, or where exactly could be the defect/bug?It is a Ubuntu 10.10 64-bit, Core i7 930, 6 GB non-ECC RAM.

Update: I confirmed that the files are being correctly written to the disk, the pages are being altered after they are read from disk, while in memory. I did a lot more memtests (I left it doing bit fade test overnight),and still nothing. All memory modules seem ok.Some more tests:

~% md5sum media.iso
cc8bcf1ce67ff7704eadc2222650c087 media.iso
~% cp media.iso tmp[code]....(direcat is a version of cat that reads with O_DIRECT, that is, bypassing page cache)There is a clear pattern: it always happens to the 2nd byte in a 16-byte alignment. In that byte, almost always the bit 4 (LSB) flips to one, but there was one instance where bit 2 flipped to zero.

View 1 Replies View Related

General :: Way To Report Contents Of File Cache Held On RAM?

Nov 30, 2010

Is there a way to report the contents of the file cache held on RAM?

View 1 Replies View Related

General :: Filesystems - Totally Clear The Filesytem's Cache?

Aug 4, 2011

In a performance test, I want to bypass the influence of cache of linux system (including page cache/inode cache and so on). I have tried O_DIRECT flag, but it's turned out that direct I/O is still "enjoy" the effect of some cache.Is there a thorough way to close the effect of system cache?

View 2 Replies View Related

General :: Does Have An Accessible Image Cache Sort Of Thing

May 8, 2010

I know in windows, there are such files that even if you don't have the original, the link is still in place, and you can at least get a thumbnail. My computer crashed with my camera card in it, and...partially restored my camera card? So, the pictures I took last night, have hodgepodged with other files, making them useless. The only possible backup I have for these pictures is any kind of history file ubuntu 10.02 may have made while I viewed them off the card.

View 8 Replies View Related

General :: Unit Of Cache Swapping Called Line?

Oct 1, 2010

Need reasons why the unit of cache swapping is called a line rather than a page ?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved