0
votes
0answers
26 views

How to force the Linux kernel reclaiming cache memory rather than using swap?

I have a PostgreSQL-driven web service on two Debian servers, one a vhost running Linux kernel 3.2.0-2 with 2GB RAM and the other a dedicated server running Linux kernel 2.6.26-1 with 6 GB RAM. ...
0
votes
0answers
66 views

OS X does not release external disk cache (in inactive memory)?

While I am using an/any application that does reading from an external disk, free memory continuously decreases and inactive memory increases by the same amount, which is aproximately the amount of ...
0
votes
0answers
50 views

Enabling write cache on my unsupported flash drive

I have recently found that I can improve the performance of my computer by enabling write caching on my external USB flash drive. I have a PNY 8GB flash drive. I have done the following: Right click ...
2
votes
2answers
138 views

What is the cause and disadvantages of high memory usage as time passes on Windows 8.1? [duplicate]

My laptop is used in long time intervals without restarting. The OS tends to use extensive memory (~8GB) as time passes. Below are screenshots of two different states with exactly the same programs ...
4
votes
1answer
171 views

Whats the difference between physical and virtual cache?

I am having trouble understanding what virtual cache actually is. I understand virtual memory. If the CPU wants to access memory, as far as I understand, it sends a virtual address to the MMU which, ...
0
votes
0answers
23 views

Windows 7 - out of memory when mounting harddrives

I am having a problem on Windows 7 (pro, 64bit, latest updates) when mounting hard-drives: Windows becomes unresponsive will show out-of-memory-errors will advice to close all programs and restart ...
1
vote
2answers
61 views

Will a big RAM improve filesystem write IO?

We have hundreds of millions of small files on our server, totally about 500 GB. I'm looking for a way to speed up their creation. Would there be any difference if I get more RAM for that purpose? ...
0
votes
0answers
78 views

Instruction cache vs data cache with reguards to size

In the context of cache for a CPU, I understand some are divided between instructions and for data. How exactly are they divided? Is one physical unit partitioned into two or are there two units ...
0
votes
4answers
261 views

How to stop Windows 8 from caching large files?

Edit The video files I talk about were unrelated to LoL (game). They were separate files that I personally downloaded. Of the 8GB that was used then the game crashed, the game was using less than ...
1
vote
0answers
22 views

What is exactly shown by “perf” as page-faults?

I want to count the number of disk accesses during a complete run of my script. My bash script runs 2 other executable files locally and 2 other executable files remotely. something like this (those ...
2
votes
0answers
85 views

What desktop computer hardware specifications are most important for database heavy applications?

I am purchasing a new personal desktop computer with the hope of improving performance for database-heavy applications (mostly data mining). I will want versatile hardware for all sorts of future ...
-1
votes
1answer
39 views

Does data go from primary memory to CPU register directly without going to cache memory? [closed]

Does data go from the primary memory to CPU registers directly, when the CPU fetches data from the primary memory? Or data has to go from the primary memory to the cache memory first, before going to ...
0
votes
0answers
69 views

how does openvz manage buffer caches?

How is the buffer cache managed in openvz? What happens if a) a guest is low on memory, the host is not. A process allocates an amount of memory. Now something is evicted from the buffer cache on ...
8
votes
1answer
259 views

Which files are cached by linux?

I understand that linux uses unused RAM to keep some files cached. But I wonder, which files it actually caches! If you take a look at free : Gesamt Belegt Frei Gemeinsam Puffer Cached Speicher: ...
3
votes
1answer
292 views

Why do we need multiple levels of cache memory?

In general a cache memory is useful because the speed of the processor is higher than the speed of the ram (they are both increasing in speed but the difference still remains). So reducing the number ...
4
votes
2answers
843 views

Too much RAM “in cache”

I am having the following problem: I am having a completely new Notebook with 8 GB RAM and Windows 8. I do not use software that requires a lot of RAM and I do not have a thousand programs running. ...
0
votes
1answer
188 views

Linux empty buffer cache command permission denied

I'm using the following commands to flush cache: # sync; echo 3 > /proc/sys/vm/drop_caches # sync; echo 2 > /proc/sys/vm/drop_caches # sync; echo 1 > /proc/sys/vm/drop_caches When I use ...
0
votes
1answer
29 views

byte addressing and cache

http://6004.mit.edu/currentsemester/tutprobs/caches_answers.html Given DM: a direct-mapped cache. S2: a 2-way set-associative cache with a least-recently-used replacement policy. FA: a ...
2
votes
1answer
673 views

Why is writing speed for RAM less than reading speed? And how do caches come into the picture?

Firstly, this is true, right? I feel that reads will always be faster than writes, also this guy here does some experiments to "prove" it. He doesn't explain why, just mentions "caching issues". (and ...
2
votes
1answer
422 views

Clear cache of virtual machine

I already posted this on StackOverflow, but it was flagged as Off-Topic. Maybe you guys are able to help me. I'm currently doing some database benchmarking on a virtual machine running Ubuntu 12.04. ...
4
votes
1answer
2k views

Why SRAM is faster than DRAM?

In modern multi-core processors, the processor caches (L1,L2 and L3) are made up of SRAM with decreasing speeds(L2 caches are higher speed SRAM than L3 caches which is a cost trade-off). The main ...
1
vote
1answer
688 views

which of the following memory has the shortest access time?

which of the following memory has the shortest access time? Virtual memory Cache memory External memory Register When I try to select the correct answer, I feel like it must be cache memory ...
6
votes
1answer
3k views

RamMap “Empty standby list” drastically speeds up PC. Is there a better way to do this?

Many people are educated on how Windows Memory manager caching work by reading Microsoft white papers, etc. However, there are relatively few documents that describe real-world performance issues ...
0
votes
3answers
115 views

Place entire folder tree into DDR's cache?

I was playing Starcraft 2 on my machine with 32GB RAM. I was thinking on how the game only ever maxes out at ~2GB, but it still has to load the different single player maps. I see the memory ...
0
votes
2answers
324 views

Fancycache + HDD vs SSD

My girlfriend's three years old Sony Vaio laptop is getting really slow so I will perform a clean Win7 install on it in a couple of weeks. While at it, I'm considering getting her to upgrade a ...
0
votes
1answer
179 views

Is cached RAM in use or not?

I have these stats on my server at the moment: # free -mt total used free shared buffers cached Mem: 64461 64157 303 0 28 ...
0
votes
6answers
3k views

How much RAM will Windows 7 consume or reserve for cache if I install 16 GB of RAM? [closed]

I have a pc with 4 gb of ram. I am thinking of buying 16 gb of ram because it might help windows 7 cache more "stuff" and I would browse stuff faster and maybe it would allow games to cache all data ...
4
votes
2answers
5k views

Windows, why your 8 GB of RAM feel like a few MB?

I'm on Windows 7 x64 with 4-core Intel i7 and 8 GB of RAM, but lately it feels like my computer's "RAM" is located solely on the hard drive. Here is what the task manager shows: The total amount ...
1
vote
2answers
3k views

Using 16 GB RAM for FancyCache?

I'm currently using 4 GB of RAM as a RAM-cache using FancyCache, it's caching my SSD. It's working very well with games as load times are almost zero, it's also working well with the Adobe suite. It's ...
6
votes
4answers
16k views

How could I limit or even disable file cache on Windows Server 2008R2?

There is a machine, with a very fast RAID array, and a fast internet connection. But, it only got 8gb of mem, which runs out really quick, when the upload goes up. Any ideas how could I disable, or ...
2
votes
1answer
127 views

Difference between caching & gzip for static pages

I have implemented all caching methods such as, memcache, diskcache, and also tried GZIP. Is there any source I can refer to which explains the difference between them. I tried memcache it is really ...
1
vote
4answers
2k views

In Memory File Cache in Windows 7

EDIT : I'm now using Windows 8 x64 Enterprise and the speed difference on the same hardware and the same dataset is amazing. Whatever the team has done to improve the caching algorithms, they did ...
7
votes
1answer
6k views

What to put on RAMDisk on Windows?

I got a lot of RAM installed in my PC recently and I looked into this RAMDisk thing. There are two things I've found from my investigation: You should not mess with Windows native pagefile/memory ...
2
votes
2answers
760 views

How to retrieve files cached in the RAM?

There are some applications that don't write cache files on the disk, instead they write into the RAM directly and thus you can't back it up, analyse it or do anything with it. How can I retrieve ...
2
votes
1answer
2k views

How can I get Linux to not thrash and just kill processes?

Firefox (and flash) tends to chew up memory at random times, causing my computer to thrash, and it drives me crazy waiting for the oom_killer to kick in and kill processes,[1] while I can't do ...
1
vote
1answer
585 views

CPU L3 cache miss and hit ratio details

How can i see the CPU L3 cache miss and hit ratio details in Rtedhat Linux box?
2
votes
2answers
377 views

Cannot correctly display memory usage under Linux

I got VPS and have ubuntu on top of it. I have installed apache in worker role (not prefork ) also installed ruby EE 1.8.7 & mysql 5.x Now when I check for memory I see 18.6 % (of 924 MB ) is ...
7
votes
3answers
390 views

Is storage hierarchy the path of data flow?

I was wondering if CPUs read and write data (almost) always following the hierarchy of storage: CPU <- register <- CPU cache memory <- main memory <- secondary storage ? If without ...
1
vote
1answer
784 views

How to clear browser disk and memory caches from the Terminal in Mac OS X

I'm debugging an Adobe Flash application my team and I have developed. Each time we update the application SWF files, we need to clear the browser caches. We also need to delete AssetCaches and setup ...
2
votes
2answers
1k views

How to tweak Windows hard disk writing and reading cache buffers parameters without help of commercial utilities?

I'd like to configure Windows (XP actually, but knowing how to do this with 7 can once come in handy as well): Use large (several hundreds megabytes) amount of RAM for disk i/o cache Use large ...
0
votes
1answer
629 views

Size of L1 cache

Typically, how big is L1 cache today?
1
vote
2answers
9k views

Is Cache memory located in the CPU or at the motherboard?

I have a doubt whether cache memory is located in the processor or at the motherboard?
3
votes
1answer
432 views

Report Linux memory cache content

Is there a way to report the contents of the file cache held on RAM?
1
vote
3answers
512 views

Which memory has the access time as fast as the processor speed?

Usually,the processor has to wait for the memory, recently I came across a question which stated something like, How will you construct a state-zero machine? Which memory should I use? I stated ...
3
votes
3answers
1k views

Firefox: faster browser by moving cache to RAM…any downsides?

I read a DownloadSquad article, Speed up Firefox page loading time without using a RAM disk, that recommended an option for Mozilla Firefox that moves the cache to RAM. I could see why it would speed ...
3
votes
1answer
991 views

Memory cache losing sync with disk

(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. ...
1
vote
2answers
7k views

Disable/resize Windows Vista disk cache to increase free RAM

I'd like to decrease my cache size, because I have a slow disk and run a swap-less system (it's pretty snappy that way). I have x86 Vista and 3 GB RAM. The problem is that Windows eats about 1 GB RAM ...
0
votes
1answer
1k views

Control in-memory cache of Chrome under Linux

I have a piddly 2GB of RAM in my 8 or so year old laptop and Chrome really likes to use all of it. Is there some way to control how much memory either all of Chrome or specifically its memory cache ...
1
vote
2answers
857 views

What is “Intel Flash Cache” and when should it be used?

If it make a difference I am running VISTA 32 bit. I just found that I need to search for "Turbo Memory Module", on google to get prices etc. Is it faster then a SD flash card? (Given it costs more ...
0
votes
2answers
2k views

RAM size > L2 Cache size > L1 Cache size > Internal Registers of a CPU

I understand that the access speed of internal registers is very high compared to that of L1 Cache and L1 Cache can be accessed faster than that of L2 cache which in turn can be accessed faster than ...