thread priority boost script[beta test]

Search This thread

hoholee12

Senior Member
May 6, 2012
2,390
2,746
Need help. When i install CWM_LazerDroid_2_7_MPEngine8_package.zip in recovery mode and i go then to system/etc/init.d/____ i dont have any new file.
There it must be system/etc/init.d/2LazerDroid2_7. Why i dont have this file?

Theres only one solution for that problem.:p
Manually extract and copy those files into your directory:)

Please, just call me 'Lag Doctor'.
 
  • Like
Reactions: Nemivsek

jader13254

Senior Member
May 25, 2012
5,928
17,917
Hamburg
Hi LENAROX,
I said "Gaming Boost & or whatever" just, because you should add "Gaming Boost" or what YOU like > Whatever ;)
You understood it wrong :D
Looking forward to more nice stuff from you ^^

thanks,
jan
 

Glatzi84

Senior Member
Dec 31, 2012
54
6
Niedersachsen
I Love ur Script... They work fantastic with SlimBean Beta1... Antutu Score 5070 Points :D :highfive:
Sheduler - ROW
Semaphore 2.90s without Bigmem (i dont activate it)
Live OC 120%

But the App Drawer is little bit laggy in this Rom :crying:
 

hoholee12

Senior Member
May 6, 2012
2,390
2,746
Hi LENAROX,
I said "Gaming Boost & or whatever" just, because you should add "Gaming Boost" or what YOU like > Whatever ;)
You understood it wrong :D
Looking forward to more nice stuff from you ^^

thanks,
jan

Ahaha i know
i did that just for fun lol:D

btw thanks bro:)

Please, just call me 'Lag Doctor'.
 

hoholee12

Senior Member
May 6, 2012
2,390
2,746
Currently more features have been added to mpengine9.
changelogs>>
-Live entropy generator (dunno if it works well :p)
-laptop-mode live control
-more tweaks for lazerdroid.

Please, just call me 'Lag Doctor'.
 

desalesouche

Senior Member
Feb 6, 2012
3,651
4,297
Currently more features have been added to mpengine9.
changelogs>>
-Live entropy generator (dunno if it works well :p)
-laptop-mode live control
-more tweaks for lazerdroid.

Please, just call me 'Lag Doctor'.
live entropy is working well......but i use it with : busybox sysctl -w kernel.random.read_wakeup_threshold=1376 in an init.d script and the v6
 

hoholee12

Senior Member
May 6, 2012
2,390
2,746
i can see it is 25...what is wrong?

you can run it via smanager or terminal emulator.:)
type 'su' and press return.
next type 'MPEngine9' and press return.
If it works, leave it running in the background.
If it doesnt work, then u have not put the files in the right place.

Please, just call me 'Lag Doctor'.
 

desalesouche

Senior Member
Feb 6, 2012
3,651
4,297
you can run it via smanager or terminal emulator.:)
type 'su' and press return.
next type 'MPEngine9' and press return.
If it works, leave it running in the background.
If it doesnt work, then u have not put the files in the right place.

Please, just call me 'Lag Doctor'.
i have a permission denied..is it because of swaper2? or because i am already using entropy generator? will try to reinstall it...
 

McDown

Senior Member
Aug 14, 2011
200
60
I decided to try this script today but after I flashed it the phone stuck at Semaphore logo. I had to delete the files manually to be able to boot.
What could be a problem?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 366
    my new performance tuning script, check it out!!
    What's the concept?
    -it boosts thread priority per process to gain extra performance.(hopefully)

    How do i install?
    -download the attachment
    -find a way to launch it on any interactive terminal(you're on your own)
    -type install

    recommended applications:
    download busybox from stericsonhere
    download smanager here.

    How to check if it works?
    -type in whatever it says in the installer after you've installed.
    -if it responds with error, then you've got problem.

    it failed to run, what do i do now?(deeeebuuuuuugiiiiiiing)
    -type in 'skeleton(or whatever you renamed it as) --verbose'
    this will debug the program and show the result of what is going on.
    if necessary, you can also try 'skeleton --bbpass --supass --verbose --renice 19'.

    -paste the outcome here. i will help you.

    How to run?
    -run the program
    -read the description.

    hidden feature:
    -'fork mediaserv 900 0.1 19'
    will stop the stutters on audio.
    -'randtest'
    will cause havok to your device.

    details will be updated in a distant future.

    feel free to contribute to my code.
    sourcecode: https://github.com/lenarox/avcore
    76
    25
    Just an update .. Im rewriting this engine in a different code style.
    edit: everything changed. it looks alot like cell processor now:p
    busybox ps -p1 -o pcpu | sed 's/%CPU//' | tail -n1 | awk '{print $1}'
    1.
    new design of rtmixman
    boot(bios)
    (instructions)
    -C0000>I0000(read map when first boot)
    C0000(main process)
    (instructions)
    -I0000(read map)
    -I0001(sync time)
    -I0002(sleep time)
    -I0003(go go gadget)
    -I0004(^^this)
    (execute map=whole skeleton)
    (execute instructions)
    C0001(child process)
    (execute instructions)
    C0002(child process)
    (execute instructions)
    C0003(child process)
    (execute instructions)
    C0004(child process)
    (execute instructions)
    C0005(child process)
    (execute instructions)
    C0006(child process)
    (execute instructions)
    C0007(child process)
    (execute instructions)
    C0008(child process)
    (execute instructions)

    (return)
    2.
    I0004 special feature:
    -make process concentrate on foreground tasks, make background process usage low as possible(avoid lags).
    I0003 special feature:
    -kill apps only in specific layers(you can avoid killing launcher and background apps). both multitasking and performance wise(might be possible)
    I0000 special feature:
    -retrieves every single information through anywhere, anytime.(I/O)
    I0001 special feature:
    -it counts time between desired tasks(whom goes first in line) and sends random statistics to other instructions for changing aggressivity options to keep them in sync.
    I0002 special feature:
    -go to sleep for reasonable seconds.(synced with I0001).
    3.
    just two cons for this engine:
    -enabling log will be a real pain in the ass.
    -I0004 is sort of a BS, i will have to test this alot, i mean ALOT more to actually make this happen.
    4.
    just testing with these map settings for a moment...
    boot()
    {
    export boot=I0000 id=1
    C0000 #start main unit
    }
    C0000() #Power Processor Element
    {
    I0000() #mapping
    {
    ./system/etc/usrsettings.conf ##masterfile read
    ###warning: it must be able to count all instructions, or else some wont work.###
    export C0000A=\`echo \$C0000 | sed 's/,/ /' | awk '{print \$1}'\`
    export C0000B=\`echo \$C0000 | sed 's/,/ /' | awk '{print \$2}'\`
    export C0000C=\`echo \$C0000 | sed 's/,/ /' | awk '{print \$3}'\`
    export C0000D=\`echo \$C0000 | sed 's/,/ /' | awk '{print \$4}'\`
    export C0000E=\`echo \$C0000 | sed 's/,/ /' | awk '{print \$5}'\`
    export C0001A=\`echo \$C0001 | sed 's/,/ /' | awk '{print \$1}'\`
    export C0001B=\`echo \$C0001 | sed 's/,/ /' | awk '{print \$2}'\`
    export C0001C=\`echo \$C0001 | sed 's/,/ /' | awk '{print \$3}'\`
    export C0001D=\`echo \$C0001 | sed 's/,/ /' | awk '{print \$4}'\`
    export C0001E=\`echo \$C0001 | sed 's/,/ /' | awk '{print \$5}'\`
    export C0002A=\`echo \$C0002 | sed 's/,/ /' | awk '{print \$1}'\`
    export C0002B=\`echo \$C0002 | sed 's/,/ /' | awk '{print \$2}'\`
    export C0002C=\`echo \$C0002 | sed 's/,/ /' | awk '{print \$3}'\`
    export C0002D=\`echo \$C0002 | sed 's/,/ /' | awk '{print \$4}'\`
    export C0002E=\`echo \$C0002 | sed 's/,/ /' | awk '{print \$5}'\`
    export C0003A=\`echo \$C0003 | sed 's/,/ /' | awk '{print \$1}'\`
    export C0003B=\`echo \$C0003 | sed 's/,/ /' | awk '{print \$2}'\`
    export C0003C=\`echo \$C0003 | sed 's/,/ /' | awk '{print \$3}'\`
    export C0003D=\`echo \$C0003 | sed 's/,/ /' | awk '{print \$4}'\`
    export C0003E=\`echo \$C0003 | sed 's/,/ /' | awk '{print \$5}'\`
    export C0004A=\`echo \$C0004 | sed 's/,/ /' | awk '{print \$1}'\`
    export C0004B=\`echo \$C0004 | sed 's/,/ /' | awk '{print \$2}'\`
    export C0004C=\`echo \$C0004 | sed 's/,/ /' | awk '{print \$3}'\`
    export C0004D=\`echo \$C0004 | sed 's/,/ /' | awk '{print \$4}'\`
    export C0004E=\`echo \$C0004 | sed 's/,/ /' | awk '{print \$5}'\`
    export C0005A=\`echo \$C0005 | sed 's/,/ /' | awk '{print \$1}'\`
    export C0005B=\`echo \$C0005 | sed 's/,/ /' | awk '{print \$2}'\`
    export C0005C=\`echo \$C0005 | sed 's/,/ /' | awk '{print \$3}'\`
    export C0005D=\`echo \$C0005 | sed 's/,/ /' | awk '{print \$4}'\`
    export C0005E=\`echo \$C0005 | sed 's/,/ /' | awk '{print \$5}'\`
    export C0006A=\`echo \$C0006 | sed 's/,/ /' | awk '{print \$1}'\`
    export C0006B=\`echo \$C0006 | sed 's/,/ /' | awk '{print \$2}'\`
    export C0006C=\`echo \$C0006 | sed 's/,/ /' | awk '{print \$3}'\`
    export C0006D=\`echo \$C0006 | sed 's/,/ /' | awk '{print \$4}'\`
    export C0006E=\`echo \$C0006 | sed 's/,/ /' | awk '{print \$5}'\`
    export C0007A=\`echo \$C0007 | sed 's/,/ /' | awk '{print \$1}'\`
    export C0007B=\`echo \$C0007 | sed 's/,/ /' | awk '{print \$2}'\`
    export C0007C=\`echo \$C0007 | sed 's/,/ /' | awk '{print \$3}'\`
    export C0007D=\`echo \$C0007 | sed 's/,/ /' | awk '{print \$4}'\`
    export C0007E=\`echo \$C0007 | sed 's/,/ /' | awk '{print \$5}'\`
    export C0008A=\`echo \$C0008 | sed 's/,/ /' | awk '{print \$1}'\`
    export C0008B=\`echo \$C0008 | sed 's/,/ /' | awk '{print \$2}'\`
    export C0008C=\`echo \$C0008 | sed 's/,/ /' | awk '{print \$3}'\`
    export C0008D=\`echo \$C0008 | sed 's/,/ /' | awk '{print \$4}'\`
    export C0008E=\`echo \$C0008 | sed 's/,/ /' | awk '{print \$5}'\`

    #I0002 specific properties
    export main_custom_sleep_timer=\`echo \$custom_sleep_timer | sed 's/,/ /' | awk '{print \$1}'\`
    export sub_custom_sleep_timer=\`echo \$custom_sleep_timer | sed 's/,/ /' | awk '{print \$2}'\`
    }
    I0001() #sync
    {
    }
    I0002() #sleep
    {
    if [ ! "\$custom_sleep_timer" ]; then
    sleep 4
    else
    sleep \$custom_sleep_timer
    fi
    }
    I0003() #flush
    {
    prev_total=0
    prev_idle=0
    while true; do
    cpu=`cat /proc/stat | head -n1 | sed 's/cpu //'`
    user=`echo $cpu | awk '{print $1}'`
    system=`echo $cpu | awk '{print $2}'`
    nice=`echo $cpu | awk '{print $3}'`
    idle=`echo $cpu | awk '{print $4}'`
    wait=`echo $cpu | awk '{print $5}'`
    irq=`echo $cpu | awk '{print $6}'`
    srq=`echo $cpu | awk '{print $7}'`
    zero=`echo $cpu | awk '{print $8}'`
    total=$(($user+$system+$nice+$idle+$wait+$irq+$srq+$zero))
    diff_idle=$(($idle-$prev_idle))
    diff_total=$(($total-$prev_total))
    usage=$(($((1000*$(($diff_total-$diff_idle))/$diff_total+5))/10))
    clear
    echo "Current Usage: $usage%"
    prev_total=$total
    prev_idle=$idle
    sleep 1
    done
    }
    I0004() #nice
    {
    }
    if [ "\$id" == 1 ]; then \$boot; export id=0; fi ##bootup
    if [ "\$C0000A" ]; then \$C0000A; fi
    if [ "\$C0000B" ]; then \$C0000B; fi
    if [ "\$C0000C" ]; then \$C0000C; fi
    if [ "\$C0000D" ]; then \$C0000D; fi
    if [ "\$C0000E" ]; then \$C0000E; fi
    ###sub unit online interconnection###
    if [ "\$C0001" ]; then \$C0001 &; fi
    if [ "\$C0002" ]; then \$C0002 &; fi
    if [ "\$C0003" ]; then \$C0003 &; fi
    if [ "\$C0004" ]; then \$C0004 &; fi
    if [ "\$C0005" ]; then \$C0005 &; fi
    if [ "\$C0006" ]; then \$C0006 &; fi
    if [ "\$C0007" ]; then \$C0007 &; fi
    if [ "\$C0008" ]; then \$C0008 &; fi
    C0000 & ##loop
    }
    C0001() #Synergistic Processor Element #1
    {
    if [ "\$C0001A" ]; then \$C0001A; fi
    if [ "\$C0001B" ]; then \$C0001B; fi
    if [ "\$C0001C" ]; then \$C0001C; fi
    if [ "\$C0001D" ]; then \$C0001D; fi
    if [ "\$C0001E" ]; then \$C0001E; fi
    }
    C0002() #Synergistic Processor Element #2
    {
    if [ "\$C0002A" ]; then \$C0002A; fi
    if [ "\$C0002B" ]; then \$C0002B; fi
    if [ "\$C0002C" ]; then \$C0002C; fi
    if [ "\$C0002D" ]; then \$C0002D; fi
    if [ "\$C0002E" ]; then \$C0002E; fi
    }
    C0003() #Synergistic Processor Element #3
    {
    if [ "\$C0003A" ]; then \$C0003A; fi
    if [ "\$C0003B" ]; then \$C0003B; fi
    if [ "\$C0003C" ]; then \$C0003C; fi
    if [ "\$C0003D" ]; then \$C0003D; fi
    if [ "\$C0003E" ]; then \$C0003E; fi
    }
    C0004() #Synergistic Processor Element #4
    {
    if [ "\$C0004A" ]; then \$C0004A; fi
    if [ "\$C0004B" ]; then \$C0004B; fi
    if [ "\$C0004C" ]; then \$C0004C; fi
    if [ "\$C0004D" ]; then \$C0004D; fi
    if [ "\$C0004E" ]; then \$C0004E; fi
    }
    C0005() #Synergistic Processor Element #5
    {
    if [ "\$C0005A" ]; then \$C0005A; fi
    if [ "\$C0005B" ]; then \$C0005B; fi
    if [ "\$C0005C" ]; then \$C0005C; fi
    if [ "\$C0005D" ]; then \$C0005D; fi
    if [ "\$C0005E" ]; then \$C0005E; fi
    }
    C0006() #Synergistic Processor Element #6
    {
    if [ "\$C0006A" ]; then \$C0006A; fi
    if [ "\$C0006B" ]; then \$C0006B; fi
    if [ "\$C0006C" ]; then \$C0006C; fi
    if [ "\$C0006D" ]; then \$C0006D; fi
    if [ "\$C0006E" ]; then \$C0006E; fi
    }
    C0007() #Synergistic Processor Element #7
    {
    if [ "\$C0007A" ]; then \$C0007A; fi
    if [ "\$C0007B" ]; then \$C0007B; fi
    if [ "\$C0007C" ]; then \$C0007C; fi
    if [ "\$C0007D" ]; then \$C0007D; fi
    if [ "\$C0007E" ]; then \$C0007E; fi
    }
    C0008() #Synergistic Processor Element #8
    {
    if [ "\$C0008A" ]; then \$C0008A; fi
    if [ "\$C0008B" ]; then \$C0008B; fi
    if [ "\$C0008C" ]; then \$C0008C; fi
    if [ "\$C0008D" ]; then \$C0008D; fi
    if [ "\$C0008E" ]; then \$C0008E; fi
    }
    boot #start processC0000=I0000,I0001,I0002,I0003,I0004 #enable map, sync, sleep for main unit
    C0001=I0003,I0004 #repeat others for ultimate sync test
    C0002=I0003,I0004
    C0003=I0003,I0004
    C0004=I0003,I0004
    C0005=I0003,I0004
    C0006=I0003,I0004
    C0007=I0003,I0004
    C0008=I0003,I0004
    20
    dev logs>>
    this new engine will be awesome!:cool:
    currently done:
    -TRASHED LOWMEMORYKILLER and replaced it with my (DUN DUN DUN)new engine!:good:
    -if there is no adj found, use its own built-in value.
    -minfree is not connected.(use its own calculated minfree)
    -above these two really needs to be modified for performance:p
    -renice highest priority for foreground.
    -ionice lowest priority for anything else thats not needed for the moment.
    -no usrsettings.conf needed.
    18
    ditched old straight flush technology, and replaced with new cortex flush technology.(over 8kb)

    edit: i actually have managed to port the whole lowmemorykiller stuff to a bash script today and now i an modifying it for advanced gaming experience.
    Ofcourse these two wont have any conflict because the one i created will take first chance to wipe the whole targeted layer in one zap while the original one clears them one by one using least recently used lists.
    They will also share the same values on same locations:)

    stay tuned;)

    prototype
    strategy.png


    my goal is to make a full-fledged working engine with a bash script.:victory:
    im also really going to disable the lowmemorykiller when this engine is doing its job properly:)