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  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
vipernicus
Veteran
Veteran


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

PostPosted: Tue Aug 29, 2006 7:09 pm    Post subject: Reply with quote

Kobal wrote:
vipernicus wrote:
Kobal wrote:
My sugestion and request.

http://people.redhat.com/mingo/realtime-preempt


Have you used it before? It really doesn't improve desktop interactivity at all. One thing I will introduce though, in next -emission is rcu-preempt, which is from -rt.


Not, it wanted to make a test with emission, rt and jack.

https://forums.gentoo.org/viewtopic-t-462677-start-0-postdays-0-postorder-asc-highlight-mingo.html


This is for you then:
http://vipernicus.evolution-mission.org/patches/2.6.17/nicus1/patches/
_________________
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: Tue Aug 29, 2006 7:11 pm    Post subject: Reply with quote

Kobal wrote:
What it finds to add nx in emission?

http://people.redhat.com/mingo/exec-shield/

it forgives for my English. it finds would be thinks.


We tried that out in -emission4 and -emission5, it turns out that some code in Gentoo's Tookit causes segfaults when using execshield-nx and compiling.

On Arch there were no problems.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
maximan
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2005
Posts: 110
Location: Rio Cuarto-Argentina

PostPosted: Tue Aug 29, 2006 7:54 pm    Post subject: Reply with quote

I try emission7 and it's great.
I have a question. i will need to
Code:
emerge -e world
to update all my world gentoo and recomplilate everything. is really need to
Code:
emerge -e world ?
?

M.
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: Tue Aug 29, 2006 7:56 pm    Post subject: Reply with quote

maximan wrote:
I try emission7 and it's great.
I have a question. i will need to
Code:
emerge -e world
to update all my world gentoo and recomplilate everything. is really need to
Code:
emerge -e world ?
?

M.


You don't have to recompile anything to use emission7, all you have to do is compile the kernel and boot it.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
broch
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2005
Posts: 94

PostPosted: Tue Aug 29, 2006 8:25 pm    Post subject: Reply with quote

exec shield is similar to PAX (grsec) mixing will not work and does not make sense.
Back to top
View user's profile Send private message
Kobal
Guru
Guru


Joined: 12 Feb 2004
Posts: 323
Location: Brasil / Brazil / Brésil / Brasilien / el Brasil

PostPosted: Wed Aug 30, 2006 12:22 am    Post subject: Reply with quote

ok, pax of emession is different of the documentation.

http://www.gentoo.org/proj/en/hardened/pax-quickstart.xml

in emission they only have 2 options.

how I configure pax with emission? :roll:

thanks.
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: Wed Aug 30, 2006 2:35 am    Post subject: Reply with quote

Kobal wrote:
ok, pax of emession is different of the documentation.

http://www.gentoo.org/proj/en/hardened/pax-quickstart.xml

in emission they only have 2 options.

how I configure pax with emission? :roll:

thanks.


Code:
cd /usr/src/linux-2.6.17-emission7
wget http://dev.gentoo.org/~phreak/hardened-sources/broken-out/2.6.17-3/4454_pax_curr_ip-fixes.patch
patch -p1 < ./4454_pax_curr_ip-fixes.patch


That will make grsecurity in -emission look like the guide. What it does is make PaX not depend on Grsecurity.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
broch
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2005
Posts: 94

PostPosted: Wed Aug 30, 2006 3:34 am    Post subject: Reply with quote

maybe we have different emission patches? :wink:

CONFIG_PAX=y

#
# PaX Control
#
# CONFIG_PAX_SOFTMODE is not set
CONFIG_PAX_EI_PAX=y
CONFIG_PAX_PT_PAX_FLAGS=y
# CONFIG_PAX_NO_ACL_FLAGS is not set
CONFIG_PAX_HAVE_ACL_FLAGS=y
# CONFIG_PAX_HOOK_ACL_FLAGS is not set

#
# Non-executable pages <<<<<<<<<<<<<<<<<<
#
# CONFIG_PAX_NOEXEC is not set

#
# Address Space Layout Randomization
#
CONFIG_PAX_ASLR=y
# CONFIG_PAX_RANDKSTACK is not set
# CONFIG_PAX_RANDUSTACK is not set
CONFIG_PAX_RANDMMAP=y
CONFIG_PAX_NOVSYSCALL=y

#
# Miscellaneous hardening features
#
CONFIG_PAX_MEMORY_SANITIZE=y
CONFIG_PAX_MEMORY_UDEREF=y


I would be careful what you enable. Unless you don't care about X
Back to top
View user's profile Send private message
maximan
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2005
Posts: 110
Location: Rio Cuarto-Argentina

PostPosted: Wed Aug 30, 2006 5:20 pm    Post subject: Reply with quote

i take this
Code:

powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.2)
powernow-k8: BIOS error - no PSB or ACPI _PSS objects

it's bad???

M.
Back to top
View user's profile Send private message
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Wed Aug 30, 2006 6:49 pm    Post subject: Reply with quote

Hi,
My system is an retro-gaming(emulation) box. My aim is to get the minimum possible video blitting/input(joystick)/audio latency. Throughput is the secondary aim. So, do you recommend me a 'low latency desktop' or normal 'desktop' cunfiguration?
In page 2 of this thread, nesl talked about the gaming configuration, but I cannot find a corresponding 'gaming' chice in menuconfig.
But probably it is 'Desktop'.


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 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*


You know, thorughput is somewhat easy to measure but gaming response is not that easy, that's why I'm asking this.
BTW, I made a quick test config and ran that kernel, and it simply rocks.
The startup time of KDE is significantly reduced, also the system feels smoother.

Waiting to hear from you.
Edit: Also a small question, the ordinary kernel hz and preemtion model settings of the vanilla kernel are not relevant any more? Are they being ignored and overriden by emission's tunables?
Thanks for this spectacular kernel!
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: Wed Aug 30, 2006 7:42 pm    Post subject: Reply with quote

bLUEbYTE84 wrote:
So, do you recommend me a 'low latency desktop' or normal 'desktop' cunfiguration?


Low Latency

bLUEbYTE84 wrote:
In page 2 of this thread, nesl talked about the gaming configuration, but I cannot find a corresponding 'gaming' chice in menuconfig.


Right now it is only available via the 'emission-tunables' script. Imagine that what you set in menuconfig is a starting point, and a default, and what you set with 'emission-tunables' script changes those settings. In other words, you can start with Low Latency in the beginning and when you are ready to play a game, type 'emission-tunables gaming' and it will switch you to gaming mode. The script also asks you afterwards if you want to make that setting permanent through sysctl.conf, which is another location for setting those tunables in menuconfig.

bLUEbYTE84 wrote:
You know, thorughput is somewhat easy to measure but gaming response is not that easy, that's why I'm asking this.

As regular desktop mode, turn on your FPS so that it shows on the screen, and write down you numbers. Then switch to gaming mode, and do the same. The higher the FPS the better the 'gaming response' is.

bLUEbYTE84 wrote:
Also a small question, the ordinary kernel hz and preemtion model settings of the vanilla kernel are not relevant any more? Are they being ignored and overriden by emission's tunables?
Thanks for this spectacular kernel!

Those options are not being changed by emission tunables, you'll have to set those yourself. The more preemption you have, the better audio work you can do. Also, I recommend 1000HZ, or 864HZ if you are feeling lucky.[/quote]
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Wed Aug 30, 2006 7:48 pm    Post subject: Reply with quote

Thank you.
From now on emission7 is the one and only kernel for me :)
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: Wed Aug 30, 2006 8:31 pm    Post subject: Reply with quote

bLUEbYTE84 wrote:
Thank you.
From now on emission7 is the one and only kernel for me :)


Using the emission-tunables script, you can change on the fly. Perfect for doing different things at different times. :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
broch
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2005
Posts: 94

PostPosted: Thu Aug 31, 2006 3:13 pm    Post subject: Reply with quote

enabling:
# Non-executable pages
#
CONFIG_PAX_NOEXEC=y
# CONFIG_PAX_PAGEEXEC is not set
# CONFIG_PAX_SEGMEXEC is not set
CONFIG_PAX_KERNEXEC=y

kills emission7 kernel just past schedulers:
io scheduler cfq registered

monitor goes black
while vanilla 2.6.17.11 patched with latest grsec (grsecurity-2.1.9-2.6.17.11-200608282236) works.

I used the same config file for both kernels
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: Thu Aug 31, 2006 3:32 pm    Post subject: Reply with quote

broch wrote:
enabling:
# Non-executable pages
#
CONFIG_PAX_NOEXEC=y
# CONFIG_PAX_PAGEEXEC is not set
# CONFIG_PAX_SEGMEXEC is not set
CONFIG_PAX_KERNEXEC=y

kills emission7 kernel just past schedulers:
io scheduler cfq registered

monitor goes black
while vanilla 2.6.17.11 patched with latest grsec (grsecurity-2.1.9-2.6.17.11-200608282236) works.

I used the same config file for both kernels


Thank you, I'll fix that for emission8, hopefully I can release it tonight.

New features for emission8:

RCU-Preempt (lower latencies, faster reclaimation, Classic RCU is still available)
Adaptive Readahead (On predatorfreak's benchmark, he had an improvement of up to 30mb/s more on hdparm)
Gaming Tunable (Same tunables used with the script)
New Genpatches
New ICH8 JMicron support (by request)
New Grsecurity + extra hardened patches (Grsecurity will look like Gentoo's to adhere to the Guides)
AppArmour (by request)
Thinkpad related drivers (by request)
Genetic Anticipatory (by request, lets see how that goes, most of the problems with earlier version have been fixed according to developer)
USB Mouse Polling (by request)

At the moment it looks like the emission server is down, I've alerted Nesl247 to the fact, so the he can contact his host. Hopefully it can be fixed in a reasonable amount of time.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
brot
Guru
Guru


Joined: 06 Apr 2004
Posts: 322

PostPosted: Thu Aug 31, 2006 7:15 pm    Post subject: Reply with quote

Adaptive readahead really rocks. Esp. Game loading times are reduced.

I am really looking forawrd to the new release, will test it as soon as it comes out.

(if you want a temp. mirror for the kernel pm me :) )
Back to top
View user's profile Send private message
predatorfreak
l33t
l33t


Joined: 13 Jan 2005
Posts: 708
Location: USA, Michigan.

PostPosted: Thu Aug 31, 2006 7:37 pm    Post subject: Reply with quote

vipernicus wrote:
broch wrote:
enabling:
# Non-executable pages
#
CONFIG_PAX_NOEXEC=y
# CONFIG_PAX_PAGEEXEC is not set
# CONFIG_PAX_SEGMEXEC is not set
CONFIG_PAX_KERNEXEC=y

kills emission7 kernel just past schedulers:
io scheduler cfq registered

monitor goes black
while vanilla 2.6.17.11 patched with latest grsec (grsecurity-2.1.9-2.6.17.11-200608282236) works.

I used the same config file for both kernels


Thank you, I'll fix that for emission8, hopefully I can release it tonight.

New features for emission8:

RCU-Preempt (lower latencies, faster reclaimation, Classic RCU is still available)
Adaptive Readahead (On predatorfreak's benchmark, he had an improvement of up to 30mb/s more on hdparm)
Gaming Tunable (Same tunables used with the script)
New Genpatches
New ICH8 JMicron support (by request)
New Grsecurity + extra hardened patches (Grsecurity will look like Gentoo's to adhere to the Guides)
AppArmour (by request)
Thinkpad related drivers (by request)
Genetic Anticipatory (by request, lets see how that goes, most of the problems with earlier version have been fixed according to developer)
USB Mouse Polling (by request)

At the moment it looks like the emission server is down, I've alerted Nesl247 to the fact, so the he can contact his host. Hopefully it can be fixed in a reasonable amount of time.


USB Mouse Polling is mainline and configurable with a boot time option, I think it's (probably) viable to do this at run time rather than boot/compile time, so I may write a sysctl patch for that.
_________________
System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up.
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: Thu Aug 31, 2006 8:49 pm    Post subject: Reply with quote

predatorfreak wrote:
...so I may write a sysctl patch for that.


That would be awesome.
_________________
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: Mon Sep 04, 2006 12:29 pm    Post subject: Reply with quote

I have this problem with my hostap driver: (maybe its not kernel related)

https://forums.gentoo.org/viewtopic-t-473412-highlight-.html
_________________
Arch & Fluxbox & 2.6.24-rc-zen!!!!
robertek.brevnov.net
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
Page 4 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