![]() |
SpeedTweak ALPHA
1 Attachment(s)
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. The good news is that removing this package and rebooting should be 100% safe and *should* revert all changes. I have tested this under dpkg and App Manager under Diablo and I'm almost 100% positive this should work under Chinook and I'm not sure about Bora. Code:
./root All in all this should provide a small to moderate increase in performance. I am using it with an 8mb swap file. It's a good first step to get some feedback and I now know where I'm going to take this. I do plan on adding prefs.js tweaking to this eventually and possibly chrome and gconf tuning as well. My ultimate goal it to have 100% of my tweaks bundled up in an easy to install .deb/system |
Re: SpeedTweak ALPHA
Dude... thanks for your work in this. Much appreciated.
|
Re: SpeedTweak ALPHA
so, stupid question before I go off running and installing this into my n800 - I take it it's both N8X0's?
aw hell, mebbe I'll just install and see... (fingers crossed) |
Re: SpeedTweak ALPHA
Yeah, it's for both N8x0's. I'm using it in my N800 fine.
|
Re: SpeedTweak ALPHA
okmaybe I'm not smart enough - so how do I install thiis? when Ii click on the link, ap manager says I'm missing a dependancy of 'wget' which I assume means I need rooot access? That I do know, but after sudo root-ing, what then?
|
Re: SpeedTweak ALPHA
I though wget was in extras... let me go and chase that down.
|
Re: SpeedTweak ALPHA
@buma:
You probably need to add the repository where 'wget' can be found, then the dependencies should be resolved by apm. (However I can't look at the .deb myself so I'm guessing. The link for some reason gives me a content-type of uknown/unknown, which our firewall blocks.) |
Re: SpeedTweak ALPHA
Quote:
|
Re: SpeedTweak ALPHA
oooooh... okay
after a half hour, I finally found it online, uninstalled all my repos / reinstalled all repos and then it finally showed up on my list... @ brontide I know you said you were going to remove that dependancy, but... um... I'm impatient :) one question however on your previous work - I made all the changes to the microb about:config files and at first, it seemed slower... that is until I revisited the site a second time. But I'm guessing that's because the cache was cleared when it was resized? and I guess i shoulda made a backup copy of the prefs.ps file prior to changing stuffs... still - fingers crossed! |
Re: SpeedTweak ALPHA
This does not do the prefs.js change so you should be fine.
The newer version ( not even started yet ) will not require wget, but for now it is what it is. |
Re: SpeedTweak ALPHA
@brontide
actually, I manually made the changes you had posted in your earlier work thread... :) |
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.
|
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. |
Re: SpeedTweak ALPHA
Quote:
|
Re: SpeedTweak ALPHA
Good work. No any negative side effects.
|
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 Code:
net.ipv4.tcp_sack=1 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 |
Re: SpeedTweak ALPHA
Quote:
no problems and in the bright of day- (and a little less etoh) it is much faster |
Re: SpeedTweak ALPHA
Quote:
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). |
Re: SpeedTweak ALPHA
See this post for more insight into sysctl changes
http://www.internettablettalk.com/fo...4&postcount=93 |
Re: SpeedTweak ALPHA
thanks, I'm working on some major changes and will gtake this into account
|
Re: SpeedTweak ALPHA
I also ran into the wget thing, but I don't know how to go about finding that repository.
I'll continue to search on my own, as this looks interesting. :) I appreciate your efforts along these lines, thanks! |
Re: SpeedTweak ALPHA
Quote:
I just ordered an 800 play with. |
Re: SpeedTweak ALPHA
Quote:
My thinking for the next version is a pure python "tweaks" application that can safely apply and remove items from sysctl, files, gconf, prefs.js, and more with few side effects. Easy 1-click install of bundles of changes through the browser as well. |
Re: SpeedTweak ALPHA
Does it work with the latest os update?
|
Re: SpeedTweak ALPHA
Quote:
|
Re: SpeedTweak ALPHA
Quote:
http://maemo.org/downloads/product/OS2007/wget/ I found it here and even though it's for OS2007, it will install with no problem. I have it running on my n810 with OS2008. |
All times are GMT. The time now is 20:58. |
vBulletin® Version 3.8.8