SLUG Mailing List Archives
Re: [SLUG] Advice Request for moving a Ubuntu installation to a larger disk and 4Gb RAM
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Advice Request for moving a Ubuntu installation to a larger disk and 4Gb RAM
- From: Daniel Pittman <daniel@xxxxxxxxxxxx>
- Date: Wed, 28 Oct 2009 14:38:33 +1100
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Alan Tyree <alan@xxxxxxxxxxxxxx> writes:
> On Wed, Oct 28, 2009 at 12:51 PM, Daniel Pittman <daniel@xxxxxxxxxxxx>wrote:
>> It is there; the two common problems are that low memory fills, causing
>> extra competition, and that your memory bandwidth is terribly reduced
>> through extra TLB flushing to bounce data up above the easy line.
>> You probably don't notice any performance hit because, frankly, almost
>> every computer you can buy — including the one in your mobile phone — is
>> sufficiently overpowered for the work it is asked to do that you can
>> sacrifice ten or twenty percent of performance without noticing.
> That's interesting, Daniel. So what are my tradeoffs. Run the normal kernel:
> faster but only 2.5gb; Run the bigmem kernel and suffer the performance but
> have more memory.
Pretty much. Alternately, use a 64-bit kernel, and this all goes away.
(Use a 64-bit kernel and 32-bit userspace and it *still* goes away; according
to some of the LKML developers this is their current approach and is pretty
much trouble free — but that may have a "...if you are a kernel developer"
caveat attached to the "pretty much" part. ;)
> Aside from the work mentioned above, I also edit some really big video files
> and do ffmpeg transformations on them. So, is there some way of choosing
> which of the above is the best option for me?
Yep: benchmark what you actually do. ;)
Otherwise, no, there isn't any easy way to do it. Well, except that it is
probably sensible to avoid the cost if you only have 1GB of RAM, total, in the
For an extra 1.5GB you /probably/ save enough just having it as disk cache
that you have an overall win.
✣ Daniel Pittman ✉ daniel@xxxxxxxxxxxx ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
Looking for work? Love Perl? In Melbourne, Australia? We are hiring.