Re: Hard disk speed - Maybe OT



Bob Bob wrote:
[...]
I dont think RAM will help all that much. The actual I/O rate numbers look like;

RAM always helps. More RAM = more buffer. Without RAM the data has to be written to disk sooner, and that's slow. Btw, the fact that swap is used at all on a machine that is not multi-user means it's time to get more RAM. The machine should never use swap at all. If you really can't add more RAM, you should move the swap partition to a hard drive that isn't used much. Using swap results in disk thrashing and disk I/O suffers (greatly).


as the capture rate. hdparm -tT for one of the RAID0 devices shows about 20Mbytes/sec buffered disk reads. Maybe there is a lot more I/O going on than I thought?

If you really have millions of files, it is crucial to not have more than 700.000 per directory. Google for "reiserfs millions of files".

But again, more RAM (another 256MB wouldn't hurt) and a faster disk (access time is more important here than throughput) will help. And RAM is cheap these days, so why not just try.
.



Relevant Pages

  • Re: Caching control
    ... of data that are merely going to be written to disk. ... enough to keep the I/O rate going at full speed. ... set into swap. ... 2GB to 3GB of RAM for what I do, not considering the bulk writing. ...
    (comp.os.linux.development.system)
  • Re: excessive swap-in time
    ... Trying to do it all with RAM is just inefficient. ... I find that does not work well when the swapping is caused by excessive I/O ... Or you could have 5 TB of swap space. ...
    (comp.os.linux.development.system)
  • Re: running Linux with no swap space (but lots of RAM)
    ... It's a very good reason to not swap to the boot device ... | JdeBP> on that system, but instead to swap to some other device ... | JdeBP> I/O, not that the system is paging to disc. ... Adding RAM in the amount of swap would eliminate a great deal of this. ...
    (comp.os.linux.development.system)
  • Re: swap size for 2gb 2 processors?
    ... out a partition magic run on a 120 gb disk, ... The rule of thumb is 2 * RAM size, in your case that would be 4G. ... price for a swap partition has remained reasonably constant. ...
    (comp.os.linux.misc)
  • Re: [ck] swap prefetching merge plans
    ... After I close some memory demanding aplication that caused huge portion of the memory to be swapped out to disk, the time needed to swith back to firefox or eclipse is really really shorter. ... And software engeneerers and programmers are really working hard to eat all your RAM even if you think that "now you have really much". ... I have so much swap because I am compiling I my packages on tmpfs. ...
    (Linux-Kernel)