Active Topics

 


Reply
Thread Tools
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#41
Originally Posted by brontide View Post
As soon as I have a good set I will make a deb file out of these changes.
Brontide, have you made, or are you still thinking of making, a deb file to incorporate your overall Tablet tweaks and your MicroB tweaks?

If there's no deb, I'll push through them one at a time, but a deb sure would be a great service to a lot of us. Your tweaks look really helpful and have received lots of positive response. Are there any from those two posts that you would reject at this point?

Should these tweaks work as well on the N800 as on the N810?
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)

Last edited by GeraldKo; 2008-03-25 at 17:03.
 

The Following User Says Thank You to GeraldKo For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#42
Yup, and also on 770
 
sachin007's Avatar
Posts: 2,041 | Thanked: 1,066 times | Joined on Mar 2006 @ Houston
#43
Guys i tried the microb settings via about:config. Now ITT is loading a lot slower. I liked my microb as is was previously.

Is there a back to default settings switch somewhere? If no can some one tell me what are the defaults for the microb changes.

thanks
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#44
Originally Posted by GeraldKo View Post
Brontide, have you made, or are you still thinking of making, a deb file to incorporate your overall Tablet tweaks and your MicroB tweaks?

If there's no deb, I'll push through them one at a time, but a deb sure would be a great service to a lot of us. Your tweaks look really helpful and have received lots of positive response. Are there any from those two posts that you would reject at this point?

Should these tweaks work as well on the N800 as on the N810?
the sysctl.conf changes are not make or break at this point. I tried again and again to improve the TCP performance or lower CPU overhead and I could not make any changes that were reliable in doing either.

I'm focusing on the MicroB tweaks and I think the network.* tweaks are fairly solid ( from the first post ).

Code:
# memory cache will autosize based on ram capacity.
user_pref("browser.cache.memory.capacity", -1);
user_pref("network.http.max-connections", 3);
user_pref("network.http.max-connections-per-server", 1);
user_pref("network.http.max-persistent-connections-per-server", 1);
user_pref("network.http.pipelining.maxrequests", 1000);
# these should be adjusted to taste
user_pref("font.default.x-western", "sans-serif");
user_pref("font.minimum-size.x-western", 14);
user_pref("font.size.fixed.x-western", 14);
user_pref("font.size.variable.x-western", 15);
# I have been running iPhone impersonating and generally it works very well, but this is commented out because some may not.
# user_pref("general.useragent.override", "Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1C28 Safari/419.3");
Looking forward, this is what I'm working on now....

More iPhone compatibility for MicroB in general. As much as we can all complain about Safari, it's spun off many high-content slimmed down sites that run great on the NIT's with only a few tweaks here and there.

I have been playing with ( from another thread ) wiring up tel: links so that iphone style phone links work in all apps including MicroB, I have confirmed that both iphone.facebook.com and the iphone gmail contacts page work as expected just by clicking on the phone number. It will launch the URI handler ( by default this is "Internet Call" ).

Collecting and documenting usecontent.css tweaks for MicroB usability. I have used css overrides to strip down many of the sites I frequent so they look better on the small screen.

GrandCentral calling script. Using a SIP account and a small script I have wired up sip: and tel: to activate a custom script so that I can get free outgoing calling ( check the GrandCentral thread for an overview ). This is an extension of the work wiring up the tel: URI format.

I guess it's time for me to stop diddling around with little tweaks and setup a sandbox so I can start really breaking things.
 

The Following User Says Thank You to brontide For This Useful Post:
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#45
Originally Posted by sachin007 View Post
Guys i tried the microb settings via about:config. Now ITT is loading a lot slower. I liked my microb as is was previously.

Is there a back to default settings switch somewhere? If no can some one tell me what are the defaults for the microb changes.

thanks
The easiest way to revert all settings is to close MicroB completly and then delete the prefs.js file.

$ rm /home/user/.mozilla/microb/prefs.js

On the next restart of MicroB it should recreate prefs.js with the defaults.
 

The Following User Says Thank You to brontide For This Useful Post:
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#46
It takes about:config between 2 minutes and 5 minutes just to open. That's after a reboot and nothing else open in the browser and no other apps open. Is this normal? It seems like it will take forever to make brontide's changes this way.

With regard to brontide's changes, brontide, you have:
user_pref("browser.cache.memory.capacity", -1) in the latest post;
user_pref("browser.cache.memory.capacity", 16384) in an earlier post;
and about:config?browser.cache.memory.capacity=8192 in a third.
The "-1" must be a typo, no? Any conclusion on what's best?

Then for max-connections, you sometimes suggest 2, sometimes 3, and sometimes 4.

For max-connections-per-server you've been at 1 and at 4 (although you're consistently at 1 for persistent connections per server).

With pipelining maxrequests you've been at 1,000 and at 10,000.

I'm also wondering if you're still recommending these additions to the prefs.js file:
user_pref("nglayout.initialpaint.delay",2000);
user_pref("content.notify.interval", 1250000);
user_pref("content.notify.ontimer", true);
user_pref("network.http.pipelining", true);

Not knowing linux and working off of cheatsheets of commands, I can't figure out how to edit the prefs.js file. I can get to it via emelFM2. But then it seems I can only view it, can't even copy the file's contents as text.

In Xterm I've tried, before and after sudo gainroot, "less /home/user/.mozilla/microb/prefs.js" and "vim /home/user/.mozilla/microb/prefs.js" and "gvim /home/user/.mozilla/microb/prefs.js" -- but to no avail. (I do it, of course, without the " ".)

Obviously, I don't know what I'm doing!

So, how do I edit the prefs.js file?

(I haven't learned ssh yet. If that's the easiest, I guess just say so. I've downloaded OpenSSH and I've installed WinSCP on my WinXP laptop, but I haven't tried using it yet. I haven't even figured out if I'm supposed to use them with USB or wifi.)

brontide, none of this pointing-out of the discrepancies is meant critically. I really appreciate your doing the experimenting and publishing your conclusions for all of us. But since I understand none of the changes (except for font size ), I'd like to get it as close to right as you know on my first try.
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)
 
sachin007's Avatar
Posts: 2,041 | Thanked: 1,066 times | Joined on Mar 2006 @ Houston
#47
Originally Posted by brontide View Post
The easiest way to revert all settings is to close MicroB completly and then delete the prefs.js file.

$ rm /home/user/.mozilla/microb/prefs.jsm

On the next restart of MicroB it should recreate prefs.js with the defaults.
I tried that but it says /home/user/.mozilla/microb/prefs.js not found.
i actually changed the settings via about:config. does that make any difference?
 
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#48
Originally Posted by brontide View Post
I disabled the metalayer-crawler0 ( as root )

mv /etc/rc2.d/S99metalayer-crawler0 /etc/rc2.d/D99metalayer-crawler0

This will disable the autodetection of media for the built-in media player, but I use canola anyways.
I think I did this right. Is there a way to check that I really did disable metalayer-crawler0?

EDIT: Dumb question. I checked by opening the default media player, seeing that it had lots of content listed; then rebooting and opening the default media player again. The content wasn't there and the library went into refresh mode.
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)

Last edited by GeraldKo; 2008-03-25 at 21:21.
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#49
Originally Posted by GeraldKo View Post
about:config?browser.cache.memory.capacity=8192 in a third.
The "-1" must be a typo, no? Any conclusion on what's best?
It will depend on the total ram which is why I just gave up and went back to -1 ( let microb automatically set the size ). For a n810 with 64MB of swap this automatically sets it to 6mb. The nice thing about -1 is that this will work on any system any autoset.

Then for max-connections, you sometimes suggest 2, sometimes 3, and sometimes 4.

For max-connections-per-server you've been at 1 and at 4 (although you're consistently at 1 for persistent connections per server).

With pipelining maxrequests you've been at 1,000 and at 10,000.
max-connections should be between 2-4 to not swamp the system. I'm using 4 right now. As for the pipelining the 10,000 was a typo... but realistically both are meant to far exceed any webserver side restriction and make the pipelining effectively unlimited. These prefs are meant to reduce the TCP overhead while rendering. It's wasted time to have the browser and the tcp stack fighting it out waiting for data.

I'm also wondering if you're still recommending these additions to the prefs.js file:
user_pref("nglayout.initialpaint.delay",2000);
user_pref("content.notify.interval", 1250000);
user_pref("content.notify.ontimer", true);
user_pref("network.http.pipelining", true);
yes on the pipelining don't know how I missed it on the last post, the others seem to improve the performance in such a small way, but both increase the latency and produce side effects so no.

Not knowing linux and working off of cheatsheets of commands, I can't figure out how to edit the prefs.js file. I can get to it via emelFM2. But then it seems I can only view it, can't even copy the file's contents as text.

In Xterm I've tried, before and after sudo gainroot, "less /home/user/.mozilla/microb/prefs.js" and "vim /home/user/.mozilla/microb/prefs.js" and "gvim /home/user/.mozilla/microb/prefs.js" -- but to no avail. (I do it, of course, without the " ".)

Obviously, I don't know what I'm doing!

So, how do I edit the prefs.js file?
It's owned by user, so you do not need to sudo gainroot.

I use vi because it's what I'm used to, but you should be able to install nano or pico from one of the repos. Both should provide a much easier editor.

(I haven't learned ssh yet. If that's the easiest, I guess just say so. I've downloaded OpenSSH and I've installed WinSCP on my WinXP laptop, but I haven't tried using it yet. I haven't even figured out if I'm supposed to use them with USB or wifi.)

brontide, none of this pointing-out of the discrepancies is meant critically. I really appreciate your doing the experimenting and publishing your conclusions for all of us. But since I understand none of the changes (except for font size ), I'd like to get it as close to right as you know on my first try.
 

The Following User Says Thank You to brontide For This Useful Post:
Viqsi's Avatar
Posts: 115 | Thanked: 136 times | Joined on Mar 2008 @ Central Ohio
#50
I'd be a bit concerned long-term about how healthy it would be to have the NIT using swap a lot more often - *especially* in the case of the N810. The problem is that with swap you're naturally going to have quite a few more read/write cycles, and (for the benefit of those who may not know) flash memory will wear out after too many read/writes.

I suppose if the swap is on an ultimately removable card (such as with the N800) this would be less of a worry, since you can always replace it. This would not necessarily be the case with the N810, though. (And as far as I can tell, you can only put swap space on the internal memory card.)

So, yeah, you may get a performance boost from More Swap Utilization, but it may be the equivalent of burning the candle at both ends.
 

The Following User Says Thank You to Viqsi For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 17:54.