Dnia Fri, 09 Mar 2007 07:33:33 -0600 Dave Kleikamp <[EMAIL PROTECTED]> napisaĆ(a):
> On Fri, 2007-03-09 at 09:15 +0100, Marek Piechut wrote: > > Hello. > > > > I was copying a big file (larger than capacity of my ram) to jfs > > partition and found that jfs is using swap. It makes it very sloooow > > with large files and does a lot of unneeded io. Is there any way to > > make it avoid of using swap? (checked with xfs and it uses ram only, > > reiserfs too). > > jfs doesn't "use" swap. The kernel appears to be swapping other > things out of memory as the file fills the page cache. I'm not sure > why jfs would behave any differently than xfs or reiserfs. Could it > be that you had more applications running (or the applications were > using more memory) when you copied to jfs? > > You should be able to tune this behavior by lowering the value of > swappiness. The default swappiness value is 60. You can lower it by > doing something like: > cat 20 > /proc/sys/vm/swappiness > > It wouldn't hurt to go as low as zero. > > > Thanks. > > Marek Piechut. Hi. I had only few daemons running (cron, syslog, acpid and similar, lightweight stuff) and swappiness set to 40. Right now I don't have any jfs partitions. Tomorrow I'll make one and try to give some more info. Thanks. Marek. -- Please encrypt every mail you can. Privacy is your right. Don't let anyone take it from you. Look at GnuPG or PGP and ask for my key.
signature.asc
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Jfs-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jfs-discussion
