Active Topics

 



Notices


Reply
Thread Tools
Posts: 51 | Thanked: 9 times | Joined on Jul 2008 @ Hawaii
#11
@brontide
actually, I manually made the changes you had posted in your earlier work thread...
 
Posts: 110 | Thanked: 52 times | Joined on Sep 2007
#12
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's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#13
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.
 
Posts: 398 | Thanked: 77 times | Joined on Jul 2007
#14
Originally Posted by brontide View Post
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
 
Posts: 4 | Thanked: 1 time | Joined on Dec 2007 @ Russia
#15
Good work. No any negative side effects.
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#16
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).
 

The Following 2 Users Say Thank You to lma For This Useful Post:
Posts: 398 | Thanked: 77 times | Joined on Jul 2007
#17
Originally Posted by prk60091 View Post
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
 

The Following User Says Thank You to prk60091 For This Useful Post:
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#18
Originally Posted by brontide View Post
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).
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#19
See this post for more insight into sysctl changes
http://www.internettablettalk.com/fo...4&postcount=93
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#20
thanks, I'm working on some major changes and will gtake this into account
 

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

Tags
battery, performance, system, tweaks


 
Forum Jump


All times are GMT. The time now is 20:52.