RE: [maemo-developers] swapfile is a huge improvement!

2006-01-18 Thread Dirk Kuijsten
-Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:maemo-developers- [EMAIL PROTECTED] Namens Andy Verzonden: dinsdag 17 januari 2006 5:14 Aan: maemo-developers@maemo.org Onderwerp: Re: [maemo-developers] swapfile is a huge improvement! On Sat, 2006-01-14 at 01:30 -0700, Brad

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-17 Thread Brad Midgley
Andy What do you mean 30mb wouldn't work? I put a 32meg swapFILE on the 64meg mmc I received and it worked fine (/proc/meminfo and /proc/swaps showed swap usage, and I could get numerous things running with out problems. Now I'm trying to partition a 512meg MMC into two partitions, and

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-17 Thread Kimmo Hämäläinen
On Mon, 2006-01-16 at 21:32, ext Israel Herraiz wrote: Dave Neuer wrote: Does this include the door is open/closed information? Where is that documented? In the latest firmware, there are scripts which are executed when those events occurr. Take a look at /usr/sbin/osso-{mmc-mount,

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-16 Thread Dave Neuer
On 1/14/06, Juha Yrjölä [EMAIL PROTECTED] wrote: On Sat, 2006-01-14 at 10:33 +, ext Clemens Eisserer wrote: But keep in mind that a swap-file means meany reads/writes to the same areas of flash which will for sure lead to the death of the mmc later or sooner. Not really, since the

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-16 Thread Juha Yrjölä
On Mon, 2006-01-16 at 13:55 +0200, ext Urho Konttori wrote: This is just a suggestion, but could the following be safe enough for consumer grade swap use on Nokia 770: If user has swapon. User opens MMC door. System pops up a large RED GUI that states: You have swap active. Please turn off

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-16 Thread Frantisek Dufka
Well it is solvable but hard. You could halt everything and display something like 'Poor human, give me my card back or I will reboot'. But this has to be done in low level (kernel thread?, direct framebuffer access?) because anything in userspace can segfault when swap is removed. I know

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-16 Thread Juha Yrjölä
On Mon, 2006-01-16 at 11:12 -0500, Dave Neuer wrote: But, where a developed market for the device doesn't exist, one has to seriously ask the question whether simplicity and reliability are a substitute for flexibility and openess to experimentation, with the risk that the complexities

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-16 Thread Kalle Vahlman
On 1/16/06, Dave Neuer [EMAIL PROTECTED] wrote: I think Nokia has done a lot of things right w/ the 770, but I do have to say that I think the idea that the 770 will be a huge consumer success by being more like a phone than like a computer is wrong. Yeah, the huge consumer success they

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-16 Thread Brad Midgley
Urho If user has swapon. User opens MMC door. System pops up a large RED GUI that states: You have swap active. Please turn off swap before removing MMC from the slot. GUI would have one large button (turn off swap). After swapoff, GUI would turn green and say, it's safe to detach MMC now.

[maemo-developers] swapfile is a huge improvement!

2006-01-16 Thread Dave Neuer
On 1/16/06, Juha Yrjölä [EMAIL PROTECTED] wrote: On Mon, 2006-01-16 at 11:12 -0500, Dave Neuer wrote: The users can make their devices as complex they want (and possibly as unstable). We're responsible of keeping the software _we_ ship stable. That's completely reasonable, and I'd expect the

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-16 Thread Dave Neuer
On 1/16/06, Dave Neuer [EMAIL PROTECTED] wrote: E.g., I asked for pointers to info like the above before (even just a description of the FIASCO components and info like size constraints), and the only answer I got was someone I believe was not a Nokia employee and which said search the mail

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-16 Thread Andy
On Sat, 2006-01-14 at 01:30 -0700, Brad Midgley wrote: hey I decided to try the swap partition on my flash card and it made a HUGE difference. Even with only 25mb swap (30mb wouldn't work for me), now memory is not nearly the concern it was. I can run multiple apps, look at complex pdf

[maemo-developers] swapfile is a huge improvement!

2006-01-14 Thread Brad Midgley
hey I decided to try the swap partition on my flash card and it made a HUGE difference. Even with only 25mb swap (30mb wouldn't work for me), now memory is not nearly the concern it was. I can run multiple apps, look at complex pdf documents, etc. Just like I expected my 770 to do in the first

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-14 Thread Juha Yrjölä
On Sat, 2006-01-14 at 10:33 +, ext Clemens Eisserer wrote: But keep in mind that a swap-file means meany reads/writes to the same areas of flash which will for sure lead to the death of the mmc later or sooner. Not really, since the flash controller on an MMC card is supposed to do

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-14 Thread Vladislav Grinchenko
Brad, with swap on, what happens to the system when you manually remove the mmc card? Or when you connect the USB cable to the unit? -Vlad On Sat, 2006-01-14 at 03:30, Brad Midgley wrote: hey I decided to try the swap partition on my flash card and it made a HUGE difference. Even with only

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-14 Thread Brad Midgley
Vladislav with swap on, what happens to the system when you manually remove the mmc card? Or when you connect the USB cable to the unit? I am pretty sure the nokia will just crash if I eject it when swap is active. We need to latch into the cardslot-opening and -closing events if we want to