[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Disk buffers (Was: Mounting /tmp on ram disk)
- To: Gilad Ben-Yossef <gilad(at-nospam)benyossef.com>
- Subject: Disk buffers (Was: Mounting /tmp on ram disk)
- From: Ilya Konstantinov <linux-il(at-nospam)future.galanet.net>
- Date: Sun, 5 Aug 2001 22:02:48 +0300
- Cc: Linux-IL <linux-il(at-nospam)cs.huji.ac.il>
- In-Reply-To: <3B6D8263.5080807@benyossef.com>
- Mail-Followup-To: Ilya Konstantinov <linux-il@future.galanet.net>,Gilad Ben-Yossef <gilad@benyossef.com>,Linux-IL <linux-il@cs.huji.ac.il>
- References: <E362644C9B65D5118D8000508BEECB2A037635@MAIL3> <3B6D8263.5080807@benyossef.com>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.3.19i
On Sun, Aug 05, 2001 at 08:29:07PM +0300, Gilad Ben-Yossef wrote:
> My best advice for you is simply then: "buy more RAM". Since in Linux
> every available RAM space is used for buffers and cache this will most
> likely be the best bet to increase performance. Also, RAm is cheap
> nowdays ;-)
This exactly was bothering me lately when trying to make images files
from CDROMs.
dd was copying all it could into the RAM, even if it meant swapping
running applications out. As a result, I could hardly multitask during
the copy, and after the copy, I had to wait for my applications swap-in
to regain control. Periodically syncing wouldn't help here, since I
suspect the buffers would still be allocated for sake of "read
caching".
I'm running kernel 2.4.6.
Does it seem like a logical behavior or a bug?
Is there any way to suggest the kernel to use kinder buffering?
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il