maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   770 Virtual Memory - increase beyond 64MB? (https://talk.maemo.org/showthread.php?t=7394)

somegeek 2007-07-07 19:43

770 Virtual Memory - increase beyond 64MB?
 
Is there a hack to increase the OS Virtual Memory size beyond 64MB?

Also - is there a hack to increase the opera broswer memory cache beyond 512kB?

Appreciate any input.

I've performed the boot from MMC 2g work and patched the kernel to use fanoush's ver 39 kernel read increase. Good stuff! Looking for a few more tweaks.

Did the read/write MMC kernel flash but it borked and corrupted my flash. Speed was nice though for that five minutes before the crash. :-D

somegeek

weezedog 2007-07-07 21:53

Re: 770 Virtual Memory - increase beyond 64MB?
 
in ITOS2007HE, the opera cache increases to 4MB. VM is still limited to 64 MB. Originally I didn't want upggrade to ITOS2007HE, but it is really a big improvement. There's a bunch of little changes that really improve the 770 experience. It is also very stable. It has bugs, but it's very good.

Nunim 2007-07-07 22:17

Re: 770 Virtual Memory - increase beyond 64MB?
 
Quote:

Originally Posted by weezedog (Post 57673)
in ITOS2007HE, the opera cache increases to 4MB. VM is still limited to 64 MB. Originally I didn't want upggrade to ITOS2007HE, but it is really a big improvement. There's a bunch of little changes that really improve the 770 experience. It is also very stable. It has bugs, but it's very good.

Are you sure? When I used 2007 I thought that I could increase the VM to 128mbs.

Milhouse 2007-07-07 22:45

Re: 770 Virtual Memory - increase beyond 64MB?
 
I think (and I'm not 100% sure but I seem to recall this behaviour) the 770 kernel (which is the same in OS 2006 and OS 2007HE) would crash if you tried to use a swap file larger than 64Mb (you can create one manually using xterm).

weezedog 2007-07-07 23:37

Re: 770 Virtual Memory - increase beyond 64MB?
 
In the current version of 2007HE, the max you can choose is 64MB, probably due to what Milhouse said. I bet the system can't handle the swap file being larger than the amount of system RAM.

n00bmanEXE 2007-07-08 02:37

Re: 770 Virtual Memory - increase beyond 64MB?
 
Quote:

Originally Posted by weezedog (Post 57692)
In the current version of 2007HE, the max you can choose is 64MB, probably due to what Milhouse said. I bet the system can't handle the swap file being larger than the amount of system RAM.

How about what this person says in this post:
http://www.internettablettalk.com/fo...97&postcount=2

Although he is probably talking about IT2006

Apparently, swap size can be bigger than RAM in linux.
http://tldp.org/HOWTO/Partition/requ....html#SwapSize

Milhouse 2007-07-08 03:21

Re: 770 Virtual Memory - increase beyond 64MB?
 
Quote:

Originally Posted by n00bmanEXE (Post 57734)
How about what this person says in this post:
http://www.internettablettalk.com/fo...97&postcount=2

Although he is probably talking about IT2006

That post is discussing a swap partition which is different to a swap file - the latter is created by the Control Panel virtual memory applet. Swap partitions are less flexible than swap files as it's probable the device will crash if you remove a card which contains a swap parition.

And the same kernel in IT2006 is used in IT 2007HE.

Quote:

Originally Posted by n00bmanEXE (Post 57734)
Apparently, swap size can be bigger than RAM in linux.
http://tldp.org/HOWTO/Partition/requ....html#SwapSize

Absolutely, but for some reason on the 770 it isn't possible to use a swap file in the region of 128MB or more and this may due to a bug or some hardcoded assumptions elsewhere in the kernel.

flyinghigh 2007-09-06 13:28

Re: 770 Virtual Memory - increase beyond 64MB?
 
Swapping is BAD, MMC cards only transfer 7MB/sec, so if you are swapping lots of data, the N770 will run slowly.

This is not a N770 issue, or a linux issue, it is a basic computing issue, just as true on windows as on the biggest supercomputer

Thus having > 64MB is probably a waste of time

fanoush 2007-09-06 14:01

Re: 770 Virtual Memory - increase beyond 64MB?
 
Quote:

Originally Posted by Milhouse (Post 57748)
Absolutely, but for some reason on the 770 it isn't possible to use a swap file in the region of 128MB or more and this may due to a bug or some hardcoded assumptions elsewhere in the kernel.

Swap file or partition difference shouldn't matter for kernel, if one is possible, other should be too. If there is any problem (never used more that 64M due to same reasons flyinghigh mentioned above) is is not in kernel but in some maemo specific memory handling code or other nokia tuning of system behavior in low memory situation. They may assume that swap+ram is <=128 or something like that. If it is more then maybe system is more optimistic about free memory that it should be and later dies due to low physical memory. Or maybe the system is just more stressed when majority of the memory is on the card so it is slow to the point of not being able to ping the watchdog in time.


All times are GMT. The time now is 03:44.

vBulletin® Version 3.8.8