Increasing performance by tuning swappiness

2007-09-24 Thread Ivo Emanuel Gonçalves
Swappiness[1] is believed to increase perfomance by setting the amount of RAM an application may use before switching to swap. The following command: # cat /proc/sys/vm/swappiness reports that the XO distro is using 60 as the current value. A specific value may be set as the default in /etc/sysct

Re: Increasing performance by tuning swappiness

2007-09-24 Thread Chris Ball
Hi, > Any thoughts on this subject? Yes: we don't use swap. - Chris. -- Chris Ball <[EMAIL PROTECTED]> ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel

Re: Increasing performance by tuning swappiness

2007-09-24 Thread Ivo Emanuel Gonçalves
On 9/24/07, Chris Ball <[EMAIL PROTECTED]> wrote: > we don't use swap. Wow. I never noticed it. However, when it comes to that, it makes perfect sense; in a flash-based medium, it would not be appropriate to waste precious writing cycles with swap memory. Sorry for wasting your time. -Ivo

Re: Increasing performance by tuning swappiness

2007-09-24 Thread Dan Winship
Chris Ball wrote: > Hi, > >> Any thoughts on this subject? > > Yes: we don't use swap. Not quite; we don't have anywhere to swap *dirty* pages to, but the kernel can still swap out shared library code pages and stuff like that, because they already exist on disk so it can just read them b

Re: Increasing performance by tuning swappiness

2007-09-25 Thread Zvi Devir
Actually, swap should have been a great solution for B2 machines with a modern (i.e., >500) image. Theoretically, the additional swap memory provided by an external usb2 storage device should allow a smoother execution of memory hungry applications. In practice, the additional swap did not help,

Re: Increasing performance by tuning swappiness

2007-09-25 Thread Henrique Ser
I beg to differ. I have both a B2 and a B4, and running 500+ builds (currently 595) in the B4 goes as smoothly as expected, but the B2 just drags itself around. This was obviously primarily due to lack of memory, so I'm swapping off a 512MB external flash drive and it's still slower than the B4