Help - Search - Members - Calendar
Full Version: How To Creat A Best Performance Swapfile?
OESF Portables Forum > Model Specific Forums > Sharp Zaurus > Zaurus - pdaXrom
I have 1gb sd how to creat a 128m

next 2 example can get best performance swapfile?


dd if=.......... bs=32m count=4


dd if=........... bs=1k count= 131072

please tell me how to get best?
The resulting files would be the same size and after you format them with mkswap would be identical in perfomance as swapfile.

One of the dd commands may be slightly faster than the other on a SD card, but not sure which. On reiserfs filesystem on a desktop linux system the first one take around 0.56secs and the second takes 1.8secs

A hexdump of the 2 file differs only in the files UUID which is stored around 0x400 bytes into the file.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.