[maemo-users] 2Gb internal storage on N810

From: Matan Ziv-Av matan at svgalib.org
Date: Fri Jul 24 02:34:56 EEST 2009
On Thu, 23 Jul 2009, Gary wrote:

> Frantisek Dufka wrote:
>> AFAIK since version 2.4 of linux kernel, swapping to file no longer goes
>> via filesystem code at all and speed is similar/same to swapping to
>> block device directly.
> That is true but in this case, AFAIK, with the maemo control panel
> you're building a swap file on a FAT32 file system. That would most
> likely result in a different performance metric than if you built a swap
> file on top of ext3 or used a raw swap slice. Someone please correct me
> if I'm wrong,

You are wrong. A simplified version of what happens:
At swapon time, the kernel builds a table in RAM of where all the blocks 
of the swap file are. Later during swap in/out the table is used and 
filesystem is ignored. So filesystem might affect the time to run 
swapon, which happens once at boot time, but does not matter to the swap 
performance after that.

Matan Ziv-Av.                         matan at svgalib.org

More information about the maemo-users mailing list