All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mariella Petrini <mariellapetrini@yahoo.com>
To: xfs@oss.sgi.com
Subject: xfs and Linux Linux 2.6.22 and Memory
Date: Thu, 20 Sep 2007 12:17:53 -0700 (PDT)	[thread overview]
Message-ID: <435577.15025.qm@web35711.mail.mud.yahoo.com> (raw)

Hi All,

I have compiled xfs that is available with Linux
2.6.22 on a Debian 4.0
The system is a 2 cpus (Intel Xeon 3 GHz) with 4 cores
each
The system has 8 GB of RAM + 2GB of swap

I have 4 Hard Drives on the system and each is
formatted using xfs
Each filesystem is mounted with noatime option
I am including the output generated during one of the
format:

mkfs.xfs -f /dev/sdb1

meta-data=/dev/sdb1              isize=256   
agcount=16, agsize=4881374 blks
         =                       sectsz=512   attr=0
data     =                       bsize=4096  
blocks=78101984, imaxpct=25
         =                       sunit=0      swidth=0
blks, unwritten=1
naming   =version 2              bsize=4096
log      =internal log           bsize=4096  
blocks=32768, version=1
         =                       sectsz=512   sunit=0
blks
realtime =none                   extsz=65536 
blocks=0, rtextents=0


I have been using an sql server to populate the 4 xfs
filesystems.
So all the files represents part of a relational
database.

In each filesystem I have 5 top directory and each
directory contains 100,000 files, so in total each
filesystem has 500,000 regular files + 5 regular
directories.
The sql server is the only program that writes the
regular files into the xfs filesystems.

During the time taken to populate the 4 filesystems
(2,000,000 files)
I have noticed that approximately 5 GB of RAM were
taken.

Once all the filesystems were populated I have
shutdown the sql server (the only process that
accesses/reads/writes the filesystems) and the 5 GB of
RAM would not be released.

At that point I have unmounted the 4 xfs filesystems
and the 5 GB of RAM would be released (be available
again).


QUESTION:

Is there any way to release that amount of memory
without unmounting the file systems ?
Is that caused to some caching mechanism ?
Or could that be caused by something else ?

Could you please help ?
Thanks a lot in advance for your help,

Mariella





       
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

             reply	other threads:[~2007-09-20 19:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-20 19:17 Mariella Petrini [this message]
2007-09-20 21:02 ` xfs and Linux Linux 2.6.22 and Memory Eric Sandeen
2007-09-20 23:34   ` David Chinner
2007-09-21  2:14   ` Mariella Petrini
2007-09-21  3:13     ` Jason White

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=435577.15025.qm@web35711.mail.mud.yahoo.com \
    --to=mariellapetrini@yahoo.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.