Mailinglist Archive: opensuse (3513 mails)

< Previous Next >
Re: [opensuse] openSUSE 11.1 x86_64 on a 512MB RAM system
  • From: Rui Santos <rsantos@xxxxxxxxxxxxx>
  • Date: Tue, 06 Jan 2009 14:16:47 +0000
  • Message-id: <496367CF.9090001@xxxxxxxxxxxxx>
Anders Johansson wrote:
On Tuesday 06 January 2009 14:47:02 Rui Santos wrote:

So... you're saying that the problem may be that some programs may be
more memory hungry than others, witch can have worst results on a 64
bits OS. So this mau be a general Linux issue, and not openSUSE specific.


It's a general computing issue. It has nothing to do with linux in any way. A
64 bit value consumes twice as much space as a 32 bit value.


Man, It never crossed my mind I would need 512MB of RAM to perform a
file system check on a 850MB worth of files on a 100GB vfat file system.


You didn't. You said you left 90MB free for the fsck, and without swap,
that's
all you're going to get.


I know I didn't. That was because I thought 90MB would more than enough.
Here is a full mmap list that is executed with all 512MB available:

3922 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7f7c58613000
3922 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7f7c58612000
3922 mmap(NULL, 32722, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f7c5860a000
3922 mmap(NULL, 3506872, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f7c5809e000
3922 mmap(0x7f7c583ed000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14f000) = 0x7f7c583ed000
3922 mmap(0x7f7c583f2000, 17080, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f7c583f2000
3922 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7f7c58609000
3922 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7f7c58608000
3922 munmap(0x7f7c5860a000, 32722) = 0
3922 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7f7c58611000
3922 mmap(NULL, 39055360, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7c55b5f000
3922 mmap(NULL, 39055360, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7c53620000
3922 mmap(NULL, 312426496, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7c40c2c000
3922 munmap(0x7f7c55b5f000, 39055360) = 0
3922 munmap(0x7f7c53620000, 39055360) = 0
3922 munmap(0x7f7c40c2c000, 312426496) = 0

It uses almost 400MB of memory.
Also just to correct, the files ystem is 250GB with 35000 files summing
up to 825MB of files.

If this is a known issue ? Using 400MB of RAM to check this kind of
filesystem ?
If it is, then my original question is answered.

Anders

Rui


--
Rui Santos
http://www.ruisantos.com/

Veni, vidi, Linux!

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >