Re: [SHR-Unstable] swapon: swapfile has holes

2009-09-06 Thread Greg Bonett
On Sat, 05 Sep 2009 10:57:32 +0200 Matthias Huber wrote: > Greg Bonett schrieb: > > Hi there, > > I just installed SHR unstable and I'm impressed at how usable and > > responsive it is. However, while I was performing a opkg operation > > I ran out of memory so I tried to add a swap file. > > W

swap partition seems faster than a swap file (Re: [SHR-Unstable] swapon: swapfile has holes)

2009-09-06 Thread Timo Juhani Lindfors
Matthias Huber writes: > afaik, it is much faster than file. On a computer with 256M ram and compact flash as storage I ran #include #include #include #include #define BUFSIZE (400*1024*1024) int main(int argc, char *argv[]) { char *p; int i; int ret; puts("allocating memory");

Re: [SHR-Unstable] swapon: swapfile has holes

2009-09-05 Thread William Kenworthy
On Sat, 2009-09-05 at 11:45 +0200, Matthias Huber wrote: > Timo Juhani Lindfors schrieb: > > Matthias Huber writes: > > > > > *** but if you are formatting the card, you can make a real swap > > > _partition_ also. > > > > > > > What are the advantages of a swap partition? The only one I

Re: [SHR-Unstable] swapon: swapfile has holes

2009-09-05 Thread David Garabana Barro
O Sábado, 5 de Setembro de 2009, Laszlo KREKACS escribiu: > I prefer the file over partition, because you can make bigger or shrink > whenever you want. And giving a separate partition is just a luxury, when > you can only create four (above that serious tweaking is necessary). Four??? You can c

Re: [SHR-Unstable] swapon: swapfile has holes

2009-09-05 Thread David Garabana Barro
O Sábado, 5 de Setembro de 2009, Timo Juhani Lindfors escribiu: > Matthias Huber writes: > > *** but if you are formatting the card, you can make a real swap > > _partition_ also. > > What are the advantages of a swap partition? The only one I can think > of is that it can be used for software su

Re: [SHR-Unstable] swapon: swapfile has holes

2009-09-05 Thread Laszlo KREKACS
On Sat, Sep 5, 2009 at 11:45 AM, Matthias Huber wrote: > afaik, it is much faster than file. Benchmark it!;) I think glamo is enough bottleneck to make all the two the same slowiness... But just guessing. Laszlo ___ Openmoko community mailing list com

Re: [SHR-Unstable] swapon: swapfile has holes

2009-09-05 Thread Matthias Huber
Timo Juhani Lindfors schrieb: > Matthias Huber writes: > >> *** but if you are formatting the card, you can make a real swap >> _partition_ also. >> > > What are the advantages of a swap partition? The only one I can think > of is that it can be used for software suspend. > > afaik, it

Re: [SHR-Unstable] swapon: swapfile has holes

2009-09-05 Thread Timo Juhani Lindfors
Matthias Huber writes: > *** but if you are formatting the card, you can make a real swap > _partition_ also. What are the advantages of a swap partition? The only one I can think of is that it can be used for software suspend. ___ Openmoko community

Re: [SHR-Unstable] swapon: swapfile has holes

2009-09-05 Thread Laszlo KREKACS
On Sat, Sep 5, 2009 at 10:57 AM, Matthias Huber wrote: > *** but if you are formatting the card, you can make a real swap > _partition_ also. I prefer the file over partition, because you can make bigger or shrink whenever you want. And giving a separate partition is just a luxury, when you can on

Re: [SHR-Unstable] swapon: swapfile has holes

2009-09-05 Thread Matthias Huber
Greg Bonett schrieb: > Hi there, > I just installed SHR unstable and I'm impressed at how usable and > responsive it is. However, while I was performing a opkg operation I > ran out of memory so I tried to add a swap file. > When following the instructions at: > http://wiki.openmoko.org/wiki/SHR_

[SHR-Unstable] swapon: swapfile has holes

2009-09-04 Thread Greg Bonett
Hi there, I just installed SHR unstable and I'm impressed at how usable and responsive it is. However, while I was performing a opkg operation I ran out of memory so I tried to add a swap file. When following the instructions at: http://wiki.openmoko.org/wiki/SHR_User_Manual#SwapSpace I get the e