|
It's pretty common to see advice to disable the write cache on individual disks used for databases because otherwise some disks will acknowledge writes that haven't yet made it to the disk surface.
This implies that some disks don't acknowledge writes...
Started by eas on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
It's been my experience that a battery-backed caching disk controller will disable the on-drive request - everything pending from (potentially) file buffers, OS disk caching, physical disk caching off the write....
|
|
For benchmarking purposes I want to force Apache 2 to load each requested file from disk instead of loading it from a cache in memory. From what I have read doing a sync followed by
echo 3 > /proc/sys/vm/drop_caches
lets me drop linux's cache. A subsequent...
Started by davitenio on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
I don't think you can disable all diskYou can disable the majority... .
Swapoff -a
Should disable disk caching.
If I'm making an incorrect assumption) but disk caching in Linux is known as swap, and uses a swapfile or swap partition.
|
|
I have a program that is very heavily hitting the file system, reading and writing to a set of working files. The files are several gigabytes in size, but not so large as to not fit on a RAM-disk. The machines this program runs on are typically Ubuntu...
Started by Will on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
The heuristics....
By default, Linux will use free RAM (almost all of it) to cache disk accesses, and will delay writes.
Disable write caching /sbin/hdparm -W 1 /dev/hda 1 Enable write caching
Obviously, if write caching.
|
Ask your Facebook Friends
|
I have a program that is very heavily hitting the file system, reading and writing randomly to a set of working files. The files total several gigabytes in size, but I can spare the RAM to keep them all mostly in memory. The machines this program runs...
Started by Will on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
The Linux disk....
Such delayed processing reduces CPU usage, and tends to reduce disk for yourself, try these things .
disk access, including delayed allocation which:
This has the effect of batching together allocations into larger runs.
|
|
I'm currently storing generated HTML pages in a memcached in-memory cache. This works great, however I am wanting to increase the storage capacity of the cache beyond available memory. What I would really like is:
memcached semantics (i.e. not reliable...
Started by brofield on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Of course, this means that I pound both the server and network with requests... .
Tokyo Cabinet / Tokyo Tyrant ?
Seems that later versions of memcachedb can be cleaned up manually if desired using the rget command and storing the expiry time in the data record .
|
|
After launching a video using MPMoviePlayerController's initWithContentURL: , is it possible to cache the downloaded video so that the next time the video is played it can be loaded via a local file:// URI? I understand that it's possible to do my own...
Started by Nathan de Vries on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Next time sharedURLCache] with a custom disk....
It will "download" while playing the incomplete file.
One trick, is to start the download to disk - (using atomic : YES), wait 10 seconds, and point the movie player to the local disk path.
|
|
I want to shut off all caching on my Apache running under Linux, and all caching on Firefox and... is there anyplace else I might be caching? I want my PHP and .css files to be fresh from disk all the time during development.
Disclaimer: I am asking about...
Started by yar on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Firefox caching disabling, in about:config:
set browser.cache.disk.enable to false set a slew of options for disabling caching....
You may want to look for is if you are using a debugging proxy that it isn't caching any content as well.
|
|
Anyone know of a good memory/disk caching library for AIR? Extra points for being compatible with Flash CS3, and being free (as in beer).
I'd like to cache results of http requests: both binary and text (xml).
Started by aaaidan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can find a class that handles content caching (text and binary) here:
http://www.mikechambers.com/blog/2007/03/19/simple-apollo-offline-caching-example/....
It looks like it has memory (but not disk) caching capabilities.
|
|
Is there a recommended known-to-work way of caching a WordPress site running on Apache Httpd 2? Should I use a plug in or cache in Apache Httpd? If in Apache Httpd, should it be disk or memory cache? If as a plug in, which one?
Started by J. Pablo Fernández on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
You may also want to consider doing....
WP-SuperCache is the defacto standard for caching WordPress pages and provides a good deal specific experience of caching Wordpress the plugin WP Super Cache does look like a good option do well.
|
|
It seems to me that Safari doesn't use cache at all :-(
Max-age is set to at least one month, Cache-Control: is public, content is served over HTTPS. It seems that Safari doesn't use memory nor disk caching. Is there something like about:cache for Safari...
Started by Peter Štibraný on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
Use this clever cache only.
But be aware, that caching content over HTTPS is not secure issue.
|