Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.17-emission7: The Bullet Dodger
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Kensai
Guru
Guru


Joined: 09 Mar 2004
Posts: 568
Location: Puerto Rico

PostPosted: Sat Aug 26, 2006 2:27 pm    Post subject: Reply with quote

I have noticed that vipernicus is improving emission's quality a lot, emission3 was a greta release, then emission4 and 5 which were not made by vipernicus at least alone, were not that great, but emission6 was a rock hard release and now emission7 is even better. I must say I havne't seen such a stability and smooth performance in a patchset before. Congrats for your great job again Vipernicus. :wink:
_________________
Gentoo: Gigabyte: nFORCE 2: nVIDIA GeForce 6600: AMD Athlon XP 3200+
Perspective of a Thinking Human Being
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sat Aug 26, 2006 4:26 pm    Post subject: Reply with quote

I've has created a script to switch the settings while running the current kernel and permanently through sysctl.conf

E-Mission Tunables 2.2
http://distfiles.evolution-mission.org/scripts/emission-tunables

How-to Install:
Code:
wget http://distfiles.evolution-mission.org/scripts/emission-tunables --output-document=/usr/bin/emission-tunables
chmod +x /usr/bin/emission-tunables


How-to Use (Do one of the following):
Code:
emission-tunables compute-server
emission-tunables desktop
emission-tunables file-server
emission-tunables gaming
emission-tunables ll-desktop
emission-tunables server


This lets you switch between modes while running kernel.

*If you are using 1.5.1 or lower then you need to upgrade to 2.0*


Last edited by nesl247 on Sat Aug 26, 2006 10:54 pm; edited 3 times in total
Back to top
View user's profile Send private message
EAD
Guru
Guru


Joined: 05 Jul 2006
Posts: 352

PostPosted: Sat Aug 26, 2006 4:40 pm    Post subject: Reply with quote

Great Kernel Patch, when will a new one be out? and what improvments will be on it?
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sat Aug 26, 2006 5:23 pm    Post subject: Reply with quote

bigbob73 wrote:
Great work Vipernicus. This is the fastest kernel yet. Encoding times are cut in half for me! Very responsive. :D


On what benchmarks do you relay? Because I just don't believe you.
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Sat Aug 26, 2006 6:17 pm    Post subject: Reply with quote

This is a very great release. The last release I used was 2.6.16-emission4. I went on holiday, and when I came back I saw this with tunables and I it gave me an excuse to upgrade. It runs great. Thanks for this release.

Keep up the great work. ;) I don't know how you are going to top the tunables though, that will be hard. :lol: :P

Cheers.
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
IvanMajhen
Guru
Guru


Joined: 10 Jun 2006
Posts: 392
Location: Croatia

PostPosted: Sat Aug 26, 2006 6:19 pm    Post subject: Reply with quote

Great kernel. Everything works. I had sam problems with hibernate and klaptop. Because hibernate now uses /sys/power/suspend2 and not /proc/*, but klaptop checks this path. I edited line 580 in portable.cpp so that now checks existance of /sys/power/suspend2.

I also edited acpi_helper (this is not necesary for this kernel) line 142 so that now calls hibernate-ram for suspend to ram. This is for kde 3.5.4, so now kde can call all nasty hacks to suspend to ram or disk without password.

Keep up the good work
Back to top
View user's profile Send private message
Kensai
Guru
Guru


Joined: 09 Mar 2004
Posts: 568
Location: Puerto Rico

PostPosted: Sat Aug 26, 2006 6:19 pm    Post subject: Reply with quote

nesl247 wrote:
I've has created a script to switch the settings while running the current kernel and permanently through sysctl.conf

E-Mission Tunables 1.5.1 (1.0 not released to public)
http://distfiles.evolution-mission.org/scripts/emission-tunables

Yeah, and I most add that this script is awesome so everyone should use it, I need to upgrade from 1.0 to 1.5.1 now. :wink:
_________________
Gentoo: Gigabyte: nFORCE 2: nVIDIA GeForce 6600: AMD Athlon XP 3200+
Perspective of a Thinking Human Being
Back to top
View user's profile Send private message
Kensai
Guru
Guru


Joined: 09 Mar 2004
Posts: 568
Location: Puerto Rico

PostPosted: Sat Aug 26, 2006 6:21 pm    Post subject: Reply with quote

Phlogiston wrote:
bigbob73 wrote:
Great work Vipernicus. This is the fastest kernel yet. Encoding times are cut in half for me! Very responsive. :D


On what benchmarks do you relay? Because I just don't believe you.

Real life experience is a better benchmark than any tool, I do believe him. 8)
_________________
Gentoo: Gigabyte: nFORCE 2: nVIDIA GeForce 6600: AMD Athlon XP 3200+
Perspective of a Thinking Human Being
Back to top
View user's profile Send private message
bigbob73
Guru
Guru


Joined: 31 Dec 2004
Posts: 332
Location: Under the Lone Star

PostPosted: Sat Aug 26, 2006 6:24 pm    Post subject: Reply with quote

Phlogiston wrote:
bigbob73 wrote:
Great work Vipernicus. This is the fastest kernel yet. Encoding times are cut in half for me! Very responsive. :D


On what benchmarks do you relay? Because I just don't believe you.


don't believe me, stay in the dark. It just works better, no benchmarks needed.
_________________
A computers attention span is only as long as it's electrical cord (Murphy)
Back to top
View user's profile Send private message
bigbob73
Guru
Guru


Joined: 31 Dec 2004
Posts: 332
Location: Under the Lone Star

PostPosted: Sat Aug 26, 2006 6:29 pm    Post subject: Reply with quote

Kensai wrote:
Phlogiston wrote:
bigbob73 wrote:
Great work Vipernicus. This is the fastest kernel yet. Encoding times are cut in half for me! Very responsive. :D


On what benchmarks do you relay? Because I just don't believe you.

Real life experience is a better benchmark than any tool, I do believe him. 8)


Speed is all about feel anyway. my brain doesn't measure nano seconds :lol:
_________________
A computers attention span is only as long as it's electrical cord (Murphy)
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sat Aug 26, 2006 8:11 pm    Post subject: Reply with quote

Kensai wrote:
Phlogiston wrote:
bigbob73 wrote:
Great work Vipernicus. This is the fastest kernel yet. Encoding times are cut in half for me! Very responsive. :D


On what benchmarks do you relay? Because I just don't believe you.

Real life experience is a better benchmark than any tool, I do believe him. 8)


Pff thats just placebo! I'm sorry.
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Sat Aug 26, 2006 8:25 pm    Post subject: Reply with quote

Phlogiston wrote:
Kensai wrote:
Phlogiston wrote:
bigbob73 wrote:
Great work Vipernicus. This is the fastest kernel yet. Encoding times are cut in half for me! Very responsive. :D


On what benchmarks do you relay? Because I just don't believe you.

Real life experience is a better benchmark than any tool, I do believe him. 8)


Pff thats just placebo! I'm sorry.


Do you have facts to back up your placebo theory?
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Sat Aug 26, 2006 8:36 pm    Post subject: Reply with quote

BTW, I'm also going to add this to the main page:

If anyone would like to make requests for new features/drivers, either post here, or join us in #emission-sources on Freenode.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
RobertDavid
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 271
Location: Czech Republic

PostPosted: Sat Aug 26, 2006 9:12 pm    Post subject: Reply with quote

So I realize that I test some configs and make a script.

/usr/local/sbin/tune
Code:
#!/bin/bash
echo $2 > /proc/sys/kernel/staircase_rr_factor
echo $1 > /proc/sys/kernel/staircase_rr_slice


/root/interbench/test
Code:
#!/bin/bash

for i in `seq 3 6`;
    do
    for j in `seq 10 20`;
        do
        echo $i $j
        tune $i $j
        ./interbench -t 20 -m "Settings $i $j" -X Gaming -X X -X Video
    done
done

mv 2.6.17-emission7.log audio.log

for i in `seq 3 6`;
    do
    for j in `seq 10 20`;
        do
        echo $i $j
        tune $i $j
        ./interbench -t 20 -m "Settings $i $j" -X Gaming -X X -X Audio
    done                                                             
done

mv 2.6.17-emission7.log video.log

for i in `seq 3 6`;
    do             
    for j in `seq 10 20`;
        do
        echo $i $j
        tune $i $j
        ./interbench -t 20 -m "Settings $i $j" -X Gaming -X Audio -X Video
    done                                                                 
done

mv 2.6.17-emission7.log X.log


I also have interbench tester in /root/interbench
just chmod +x both files
Code:
cd /root/interbench
./test


I make a test in single kernel mode

As can anyone count, it takes few hours(~5Hr)
The results are mostly similar so finding best solution takes some time, but results are writen in 3 files
Code:
/root/interbench/audio.log
/root/interbench/video.log
/root/interbench/X.log

I find out that best way for wieving result is
Code:
grep None audio.log
or
grep Video audio.log
etc....


For my notebook was one of the best "tune 4 15"
_________________
Arch & Fluxbox & 2.6.24-rc-zen!!!!
robertek.brevnov.net
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sat Aug 26, 2006 10:01 pm    Post subject: Reply with quote

Just wanted to say that the emission-tunables script has now been updated to 2.2 (rewrote this post for 2.2). It now features the option to add in custom values, and choose whether or not you want the values to be added to /etc/sysctl.conf. Also features an uninstall option to remove the entries from sysctl.conf

Last edited by nesl247 on Sat Aug 26, 2006 10:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
a7thson
Apprentice
Apprentice


Joined: 08 Apr 2006
Posts: 176
Location: your pineal gland

PostPosted: Sat Aug 26, 2006 10:38 pm    Post subject: Reply with quote

nesl247 wrote:
Just wanted to say that the emission-tunables script has now been updated to 2.0. It now features the option to add in custom values, and choose whether or not you want the values to be added to /etc/sysctl.conf

Having seen several approaches to kernel tuning (scripts, hardcoded sysctl, multiple sysctl config files, echo into /proc), I had my own idea and tossed up a quick implementation. It should be usable by a variety of kernels - I actually had intended to use it with viper-sources (hint hint) and other purposes. It allows you to set kernel tweak options right in the bootloader, by adding an additional command line parameter to an entry in grub.conf

edit: I found a couple of oversights when testing the script on failure conditions, see corrections.
Code:

#!/bin/bash

# Gentoo kernel-tweak
#
# Author: a7thson (brian.d.fritz@gmail.com)
# Created: 08/26/2006
#
# Purpose:  This is a simple wrapper around sysctl allowing the user
#   to pass an entry on the kernel command line which will be
#   executed if a correspondingly-named configuration exists in
#   the appropriate /etc directory ( *FIXME* hardcoded to /etc/sysctl/ ).  This
#   provides a convenient way to run kernel tweaks via an entry
#   in the bootloader menu.  If there is no corresponding boot parameter,
#   do not display a boot message, if an invalid parameter is given, tell the user
#   how to fix it.
#
#  Usage:  To use, simply add this init script to boot or default runlevel,
#  add the appropriate kernel parameter to your bootloader.

source /sbin/functions.sh

[ "$UID" -ne "0" ] && eerror "You must be root to run this script." && exit

option=`cat /proc/cmdline | grep "kerneltweak" | sed 's!.*kerneltweak=\(.*\)!\1!' | awk '{ print $1 }'`

if [ ${option} ]; then
   if [ -f /etc/sysctl/${option} ]; then
      ebegin "Initializing [${option}] kernel tweak options."
      echo "sysctl -p /etc/sysctl/${option}"
   else
      eerror "A kerneltweak option was specified at boot but no configuration file exists!"
      eerror "To remedy this, you need to create a sysctl config /etc/sysctl/$option"
   fi
fi

to use this, simply pass along a new kernel parameter kerneltweak on the bootloader string, i.e.
Code:

kernel /vmlinuz-2.6.17-emission7 root=/dev/sda1 ro video=vesafb-tng:ywrap,mtrr:1,1440x900-16@60 kerneltweak=gaming

and create one or more files containing desired sysctl options, placing them in (/etc/sysctl):
Code:

#cat /etc/sysctl/normal
kernel.interactive=1
kernel.compute=0
kernel.iso_cpu=80
vm.mapped=66
vm.hardmaplimit=1
vm.tail_largefiles=0
vm.dirty_ratio=0
kernel.staircase_rr_slice=3
kernel.staircase_rr_factor=11

#cat /etc/sysctl/gaming
kernel.interactive=0
kernel.compute=1
kernel.iso_cpu=0
vm.mapped=33
vm.hardmaplimit=1
vm.tail_largefiles=0
vm.dirty_ratio=66
kernel.staircase_rr_slice=6
kernel.staircase_rr_factor=19


Hope that someone finds this useful, feel free to borrow the approach and scripts for your kernels if you like the idea.
1. Copy the script to /etc/init.d/kerneltweak, make it executable, and add it to the appropriate runlevel (I use boot but default would work as well),
2. Modify or create an appropriate entry in grub.conf
3. Create sysctl config directory ("mkdir -p /etc/sysctl/") and stick sysctl configs there.
And -- voila! automatic tweaking without the need for building multiple kernels nor manually calling custom scripts, nor having to mess with /etc/sysctl.conf

Comments and suggestions to improve it are most appreciated. I've already thought of several myself but wanted to throw the inital idea and code out there first.
_________________
i7-3610QM | E5-2670 | FX-8300


Last edited by a7thson on Sun Aug 27, 2006 5:30 am; edited 1 time in total
Back to top
View user's profile Send private message
PLum
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2004
Posts: 107
Location: /dev/world/poland/gliwice

PostPosted: Sat Aug 26, 2006 11:05 pm    Post subject: nice work Reply with quote

i always liked emission-sources
and now its damn nice :-)

btw. i got little request

can it be put intro next release ?

imq
http://www.linuximq.net/
ipt_account
http://www.svn.barbara.eu.org/ipt_account/wiki/Patches
_________________
"Zlota zasada nauki i sztuki: Kto ma zloto ustala zasady."
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sat Aug 26, 2006 11:29 pm    Post subject: Reply with quote

vipernicus wrote:
Phlogiston wrote:
Kensai wrote:
Phlogiston wrote:
bigbob73 wrote:
Great work Vipernicus. This is the fastest kernel yet. Encoding times are cut in half for me! Very responsive. :D


On what benchmarks do you relay? Because I just don't believe you.

Real life experience is a better benchmark than any tool, I do believe him. 8)


Pff thats just placebo! I'm sorry.


Do you have facts to back up your placebo theory?


An increase of 50% is just impossible, fact is that it's the same kernel base, so no driver updates or whatever. Furthermore there is no big change or a new "speed" patch added. This is just the usual ricer thing... :oops:
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
bigbob73
Guru
Guru


Joined: 31 Dec 2004
Posts: 332
Location: Under the Lone Star

PostPosted: Sun Aug 27, 2006 1:37 am    Post subject: Reply with quote

Phlogiston wrote:
vipernicus wrote:
Phlogiston wrote:
Kensai wrote:
Phlogiston wrote:
bigbob73 wrote:
Great work Vipernicus. This is the fastest kernel yet. Encoding times are cut in half for me! Very responsive. :D


On what benchmarks do you relay? Because I just don't believe you.

Real life experience is a better benchmark than any tool, I do believe him. 8)


Pff thats just placebo! I'm sorry.


Do you have facts to back up your placebo theory?


An increase of 50% is just impossible, fact is that it's the same kernel base, so no driver updates or whatever. Furthermore there is no big change or a new "speed" patch added. This is just the usual ricer thing... :oops:


so that would be a no? :wink:
_________________
A computers attention span is only as long as it's electrical cord (Murphy)
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1983
Location: Poland

PostPosted: Sun Aug 27, 2006 8:17 am    Post subject: Reply with quote

My request: usb-mouse-polling.patch, it is missing in this release (was in emission6).
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sun Aug 27, 2006 10:41 am    Post subject: Reply with quote

bigbob73 wrote:
Phlogiston wrote:


An increase of 50% is just impossible, fact is that it's the same kernel base, so no driver updates or whatever. Furthermore there is no big change or a new "speed" patch added. This is just the usual ricer thing... :oops:


so that would be a no? :wink:


Why should I prove that it's not true if you don't give me numbers or real facts? Tell me THE change in this patchset that could improve it 50%? Just some tweaks for the scheduler can't be that serious. And as I said before it's still the same kernel as before if I'm correct. Let's stop this silly talking here I just can't take you serious bigbob 8) But hey never mind and enjoy the kernel ricer placebo patchset effect :lol:
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
Kensai
Guru
Guru


Joined: 09 Mar 2004
Posts: 568
Location: Puerto Rico

PostPosted: Sun Aug 27, 2006 12:04 pm    Post subject: Reply with quote

Phlogiston wrote:
Why should I prove that it's not true if you don't give me numbers or real facts? Tell me THE change in this patchset that could improve it 50%? Just some tweaks for the scheduler can't be that serious. And as I said before it's still the same kernel as before if I'm correct. Let's stop this silly talking here I just can't take you serious bigbob 8) But hey never mind and enjoy the kernel ricer placebo patchset effect :lol:

Ok, then, it's not 50% faster but from my experience, runs faster than beyond-sources, and is about the care and cleanup vipernicus gives to this patch set. And yes my brain can detect nanoseconds. I'm a speed freak, or if you put it this way and you've watched usa network channel I'm like monk. :lol:
_________________
Gentoo: Gigabyte: nFORCE 2: nVIDIA GeForce 6600: AMD Athlon XP 3200+
Perspective of a Thinking Human Being
Back to top
View user's profile Send private message
bigbob73
Guru
Guru


Joined: 31 Dec 2004
Posts: 332
Location: Under the Lone Star

PostPosted: Sun Aug 27, 2006 12:41 pm    Post subject: Reply with quote

Phlogiston wrote:
bigbob73 wrote:
Phlogiston wrote:


An increase of 50% is just impossible, fact is that it's the same kernel base, so no driver updates or whatever. Furthermore there is no big change or a new "speed" patch added. This is just the usual ricer thing... :oops:


so that would be a no? :wink:


Why should I prove that it's not true if you don't give me numbers or real facts? Tell me THE change in this patchset that could improve it 50%? Just some tweaks for the scheduler can't be that serious. And as I said before it's still the same kernel as before if I'm correct. Let's stop this silly talking here I just can't take you serious bigbob 8) But hey never mind and enjoy the kernel ricer placebo patchset effect :lol:


Phlogiston, i have no need to prove anything to you, and furthermore, don't really care if you take me seriously. You want numbers, get them yourself! Placebo effect? Maybe. Ricer? not. I run x86 with minimal cflags. Do i get this kind of performance all the time, no, but i did that time and that's all i need.
_________________
A computers attention span is only as long as it's electrical cord (Murphy)
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sun Aug 27, 2006 1:54 pm    Post subject: Reply with quote

Nice work by the way. You could add the script to the ebuild :wink:
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
brot
Guru
Guru


Joined: 06 Apr 2004
Posts: 322

PostPosted: Sun Aug 27, 2006 3:15 pm    Post subject: Reply with quote

Hey, it looks like a very nice release. Looks like you finally convinced me to test ;)

will be back after a kernel configure...

It looks like it performs better than beyond when doing heavy i/o. but that may be also due to my changed .config. anyways: i am happy, thank you for your work ;)


Last edited by brot on Sun Aug 27, 2006 5:33 pm; edited 2 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum