Jump to content

[Kernel] Lightspeed 0.1 - Faster than fast enough.


Recommended Posts

Guest Soaa-
Posted (edited)

FOR 1.5 ROMS ONLY.

Thanks to teknologist, maxisma, toastcfh, and all those who contributed to cracking the CPU open for overclocking.

Looking at the CDMA forums, it seems they were a step ahead of us with their kernel speedups. With help from their work, and particularly, from toastcfh, I've been able to patch and compile a kernel based on teknologist 1.9 with added features and speed.

Added features and changes so far:

- BFS, brainfuck scheduler. Basically, helps the CPU respond faster.

- Overclock. Up to 768MHz is enabled, but defaults to a safer 595MHz. It should be compatible with SetCPU. Be sure to use the custom setting.

- Deadline I/O scheduler. It should make file read and write operations a tad faster. We'll see if it really does.

Git repo: http://github.com/Soaa-/-lightspeed/tree/master/kernel-hero/

It runs at 595MHz! How do I make it faster?

Download and install SetCPU. It's available for free on xda-developers, but you can support the author by buying a copy on the market. Download setcpu.txt and place it in the root of your SD card. And then, launch SetCPU and pick the custom option.

My phone doesn't wake sometimes! Or, it wakes and the crashes!

Use SetCPU and set the CPU governor to 'performance'.

Can I flash this on recovery?

The first overclocked kernel was available only as sources, and binaries had to be flashed manually. Lightspeed comes as a standard update.zip package to be flashed through recovery though.

Does Wi-fi work?

Yes.

Does compcache/ramzswap work?

No idea. I don't use it.

Does the CPU frequency scale to usage?

It should, if you keep the ondemand CPU governor. Some ROMs default to the performance governor though, which runs the CPU at the maximum setting when the screen is on, and at the minimum setting when the screen is off. Configurable through SetCPU.

Do you accept donations?

Not yet, as my work so far has just been putting other people's work together. My priority now is to make our phones better, not to make money.

Download

http://forum.xda-developers.com/showthread.php?t=673653

Edited by Soaa-
Guest cTn
Posted

Wonderfull, i was looking for kernel with BFS enabled for quite some while, thanks for your contribution (updating kernel on my phone as i am writing this) :huh:

Guest ZeppeMan
Posted (edited)

Flashed this over MoDaCo 3.2 and overclocked CPU @ 710Mhz (higher overclock gives me freeze..). Everything is running smooth so far ^^

Edited by ZeppeMan
Guest prinztelly
Posted

Is there a tutorial to apply and use this patch?

Guest cTn
Posted
Is there a tutorial to apply and use this patch?

u can apply it via your custom recovery, no "special" skills required :huh:

Posted
u can apply it via your custom recovery, no "special" skills required :huh:

Obviously, you have to compile the kernel first before you install it. :P

Guest Soaa-
Posted
Obviously, you have to compile the kernel first before you install it. :huh:

Do I detect sarcasm or are you misinformed?

Obviously, it was already done, and an update.zip is attached to my post on xda.

Guest Dr. dre
Posted

Excellent Piece of work Dude, Just one Question would the overclock thing affect the phone's hardware in the Long Run or the Battery Life.

Posted
Do I detect sarcasm or are you misinformed?

Obviously, it was already done, and an update.zip is attached to my post on xda.

Oops! Sorry I obviously wasn't on the same planet when I wrote that :P

Guest jbrizz
Posted

I used this kernel for a few days with Modaco 3.2, I found that 652mhz was stable (hardware wise) but had major issues with software stability.

  • The CPU scheduler seemed to get pretty confused, I'd get random slowdowns and sometimes the whole phone would be barely usable, requiring a reboot.
  • Sometimes the phone would take forever to wake up, then take about 10 seconds to respond to any input once finally woken (also requiring reboot).
  • Phone wouldn't always shut down.

However, it was heaps faster than stock! If stability is worked on this could be really good. I still think that it was still too slow to really provide a good user experience though, the Hero is just never going to be fast.

Guest Soaa-
Posted
I used this kernel for a few days with Modaco 3.2, I found that 652mhz was stable (hardware wise) but had major issues with software stability.
  • The CPU scheduler seemed to get pretty confused, I'd get random slowdowns and sometimes the whole phone would be barely usable, requiring a reboot.
  • Sometimes the phone would take forever to wake up, then take about 10 seconds to respond to any input once finally woken (also requiring reboot).
  • Phone wouldn't always shut down.

However, it was heaps faster than stock! If stability is worked on this could be really good. I still think that it was still too slow to really provide a good user experience though, the Hero is just never going to be fast.

These problems can often be traced to apps you have running in background. Fire up a task manager and see if there's any process that's hogging the CPU. The usual culprits are the browser, and some misbehaving games.

Guest jbrizz
Posted
These problems can often be traced to apps you have running in background. Fire up a task manager and see if there's any process that's hogging the CPU. The usual culprits are the browser, and some misbehaving games.

Thanks, after I've finished rooting my phone and overclocking it I'll be sure to read up on the fundamentals of multitasking operating systems. :P

Guest zorm
Posted (edited)
These problems can often be traced to apps you have running in background. Fire up a task manager and see if there's any process that's hogging the CPU. The usual culprits are the browser, and some misbehaving games.

I'm using lightspeed with MCR 3.2. Semi stable at 768: ran error free under setcpu stress test, but then spontaneously rebooted after 30m. 748MHz seems stable: no errors after 5 hours of stress test.

Yet I had the same experience as the previous poster. I even tried running the rom at stock speed & still experienced it. The phone would be fine one minute then the next like treacle. After struggling with exponentially expanding lags between each screen tap, I eventually found via ps that the culprit was HTCSense, using 60-90% cpu; the only cure was to kill it & let it respawn at which point it whould be well behaved, though no guarantees for how long that'd last. HTCSense was always the cause. I've never seen this behaviour under the MCR kernel.

I think there's something about this kernel, that's not clock speed related, which HTCSense can't cope with.

I also had the scrambled lockscreen display, when the device was woken. Only the once though, so can't know if it's speed related.

An aside: I can't get any bluetooth driver (FreedomPro, BlueInput & KeyPro inc beta) to let me connect s Freedom Pro keyboard to my Hero. This isn't unique to lightspped as the kernel MCR 3.2 uses behaves similarly. It can be found & will pair, but no more than that. hciconfig lists no devices & hidd --connect <mac addr keyboard> errors with something along the lines of no route to host. Seems somethiing's missing.

Edited by zorm
Guest Bleep42
Posted (edited)

I'm using MoDaCo 3.2, with 710Mhz active and 128Mhz standby, performance settings, no CompCache, minfree set to 1536,2048,4096,10240,12800,15360 all working very well thanks :-)

Noticeably faster in normal use, hasn't unduly affected the battery life either, currently up to 33Hrs with battery down to 70%.

Only slowdown I've had was the SetCPU app itself, after having run it's benchmarks, it was using between 30% to 90% CPU, so I have been setting the clock speeds, then kill it off using TaskManager.

Now I've configured it to set the clock at boot time and don't run the full SetCPU app itself at all.

Thanks very much Soaa and all other kernel tweakers for producing this stable fast kernel, definite noticeable speed boost. :-)

Regards Kevin.

Edited by Bleep42
Guest trstn
Posted (edited)
I'm using MoDaCo 3.2, with 710Mhz active and 128Mhz standby, performance settings, no CompCache, minfree set to 1536,2048,4096,10240,12800,15360 all working very well thanks :-)

Noticeably faster in normal use, hasn't unduly affected the battery life either, currently up to 33Hrs with battery down to 70%.

Only slowdown I've had was the SetCPU app itself, after having run it's benchmarks, it was using between 30% to 90% CPU, so I have been setting the clock speeds, then kill it off using TaskManager.

Now I've configured it to set the clock at boot time and don't run the full SetCPU app itself at all.

Thanks very much Soaa and all other kernel tweakers for producing this stable fast kernel, definite noticeable speed boost. :-)

Regards Kevin.

Hmmm, i'm only able to set 528 as the max, any idea what I did wrong?

edit... Ahhh, I missed the custom option on the menu (or put setcup.txt on SDCARD). All working now, opting for 600 to see what happens :P

edit2.... Hero clearly isn't happy about going full whack 768, lots of reboots and freezes. Lucky for me I nandroided first :D

Edited by trstn

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.