maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   SpeedTweak ALPHA (https://talk.maemo.org/showthread.php?t=22408)

buma 2008-07-30 17:56

Re: SpeedTweak ALPHA
 
@brontide
actually, I manually made the changes you had posted in your earlier work thread... :)

nobodysbusiness 2008-07-31 01:37

Re: SpeedTweak ALPHA
 
I wonder if there's any way to conclusively rule out the placebo effect. Perhaps some way of using the unixy 'time' command to measure the loading time of apps. I doubt that this would be possible, but imagine that you could pass an argument to microb that would cause it to start up, load a page, display the page and then exit. That would allow a tester to run something like "time microb -load www.bleh.com -exitafter" at the command-line and get a time before and after the tweaks. I have no idea if anything like this is remotely plausible, but perhaps someone else knows more.

brontide 2008-07-31 01:41

Re: SpeedTweak ALPHA
 
Did it work *for you*?
Did you perceive an improvement?
Has there been any negative side effects?

There is a lot more that I'm working on, but it's on my wait list since I want to bang out my Demo for the summit in time to do a dry run at the local LUG.

prk60091 2008-07-31 02:03

Re: SpeedTweak ALPHA
 
Quote:

Originally Posted by brontide (Post 208811)
Did it work *for you*?
Did you perceive an improvement?
Has there been any negative side effects?

There is a lot more that I'm working on, but it's on my wait list since I want to bang out my Demo for the summit in time to do a dry run at the local LUG.

seems like i am burning more battery than usual but it feels peppier

Spiteman 2008-07-31 07:03

Re: SpeedTweak ALPHA
 
Good work. No any negative side effects.

lma 2008-07-31 09:06

Re: SpeedTweak ALPHA
 
Thanks for taking the time to do this.

I have a couple of minor points for future releases (tested on Diablo only):

these settings in cpufreq_tweak.sh:
Code:

echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 400000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 165000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

and these in sysctl.conf:
Code:

net.ipv4.tcp_sack=1
net.ipv4.tcp_dsack=1
net.ipv4.tcp_fack = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_ignore_bogus_error_responses = 1

were already the defaults.

Also, the hosts.sh pipeline (nice use of xargs btw) can be shortened by a few commands:

Code:

wget -q -O - http://www.mvps.org/winhelp2002/hosts.txt | awk '/^127\.0\.0\.1.*\./ { print $2 }' | sort -u | xargs -n 100 echo 127.0.0.1  > /etc/banner_ad_hosts
The above also avoids processing commented-out lines (which added an extra "127.0.0.1" hostname), and doesn't remove hostnames starting with "localhost" (eg localhosts.3322.org).

prk60091 2008-07-31 14:09

Re: SpeedTweak ALPHA
 
Quote:

Originally Posted by prk60091 (Post 208821)
seems like i am burning more battery than usual but it feels peppier

I AM AN IDIOT. of course i was burning more battery yesterday- i had the gps on - duh

no problems and in the bright of day- (and a little less etoh) it is much faster

allnameswereout 2008-08-01 17:11

Re: SpeedTweak ALPHA
 
Quote:

Originally Posted by brontide (Post 208486)
Some of you may remember my earlier work.

I have now packaged up a few, relativity safe, tweaks as a nice self contained .deb file. This will add a sysctl.conf to the system, tweak the ondemand governor, and drop a load of banned hosts into your system.

IF YOU HAVE ALREADY TWEAKED DNSMASQ, SYSCTL, OR THE SPEED GOVERNOR I HAVE NO IDEA WHAT THIS WILL DO IT IT.

Thanks for sharing its great to have more performance related packages!

Why does APT not detect a file is modified? Normally, on Debian-based systems, debconf pops up and asks the user what to do. This way you can do a diff to see the changes, and merge easily. *BSD has similar tools (mergemaster).

maacruz 2008-09-01 19:30

Re: SpeedTweak ALPHA
 
See this post for more insight into sysctl changes
http://www.internettablettalk.com/fo...4&postcount=93

brontide 2008-09-01 20:24

Re: SpeedTweak ALPHA
 
thanks, I'm working on some major changes and will gtake this into account


All times are GMT. The time now is 21:00.

vBulletin® Version 3.8.8