Re: More memory == better?
Jens Axboe (axboe@suse.de)
Wed, 24 Oct 2001 08:36:18 +0200
On Tue, Oct 23 2001, bill davidsen wrote:
> In article <20011023161340.02EAC9BD76@pop3.telenet-ops.be>,
> DevilKin <DevilKin@gmx.net> wrote:
>
> | Currently I've got myself a nice setup (amd 1.4ghz, abit kg7raid etc etc)
> | with 512mb ram... (DDR). I'm wondering if increasing this to 1gb has
> | advantages (speedwise or anything), since I can get my hands on it at a very
> | low price...
> |
> | I must say that even with most of my applications loaded/running, the system
> | never even touches the swap partition.
> |
> | So, would it be wise?
>
> There are some good reasons to add memory.
>
> - disk i/o rates. vmstat will tell you some disk i/o rates, if they are
> high you *may* get better performance with more memnory for cache.
>
> - future applications. As you say it's cheap right now, if you think
> there's a good chance of larger images, more kernel compiles, whatever,
> buy now.
>
> - memory bandwidth. This is very motherboard dependent, read your specs.
> Some systems will use two or four way interleave to increase bandwidth
> to memory or reduce access time. See what your m/b spec tells you.
>
> - you have the money and want to spend it on {something}! Go ahead,
> memory is one of the best investments for any system.
>
> Just remember that to use this memory you need a large memory kernel.
There's also the argument that you may slow down your system by adding
more memory, since with 1G you will have high memory which needs to be
kmap'ed to be accessed by the kernel. For I/O it needs to be bounced to
lower memory, which is even worse.
--
Jens Axboe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/