Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Zen Kernel Discussion/Support Thread - Part 2

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Locked
Advanced search
331 posts
  • Page 1 of 14
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 14
  • Next
Author
Message
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

Zen Kernel Discussion/Support Thread - Part 2

Post by cheater1034 » Tue Dec 01, 2009 1:34 am

Zen Kernel Gentoo Discussion and Support Thread
-----------------------------------
WEBSITE
http://zen-kernel.org! Register! Read documentation for more information!
-----------------------------------
Zen Ebuilds!
Zen ebuilds can now be found in the portage tree. It's simple: add the entry for sys-kernel/zen-sources to package.keywords, sync, and install.
-----------------------------------
Zen Git Trees!
Zen (unstable): git://zen-kernel.org/kernel/zen.git
Zen (stable): git://zen-kernel.org/kernel/zen-stable.git
------------------------------------

Please post results here, IRC, and all around about problems, no problems, tests, voting, supporting, etc.

JOIN US
ON IRC:
#zen-sources, irc.rizon.net
WEBSITE: http://zen-kernel.org
Mailing List: http://groups.google.com/group/zen_kernel or zen_kernel+subscribe@googlegroups.com
Issue Tracker: http://zen-kernel.org/issues
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
huckabuck
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 110
Joined: Sat Apr 14, 2007 11:59 am
Location: Bronx, NY

Post by huckabuck » Tue Dec 01, 2009 3:01 am

Thanks for this, love the new white toast ...

Code: Select all

Linux gentoo 2.6.31-zen9 #1 ZEN SMP Mon Nov 30 19:36:32 EST 2009 i686 Intel(R) Celeron(R) CPU 2.40GHz GenuineIntel GNU/Linux
Using the BFS scheduler, latest stable X and nvidia drivers w/ compiz. And rockin' the gentoo G in the framebuffer with uvesafb
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

Post by cheater1034 » Tue Dec 01, 2009 4:03 am

huckabuck wrote:Thanks for this, love the new white toast ...

Code: Select all

Linux gentoo 2.6.31-zen9 #1 ZEN SMP Mon Nov 30 19:36:32 EST 2009 i686 Intel(R) Celeron(R) CPU 2.40GHz GenuineIntel GNU/Linux
Using the BFS scheduler, latest stable X and nvidia drivers w/ compiz. And rockin' the gentoo G in the framebuffer with uvesafb
Good news, I love people who run sane systems like me :D, my system is awfully stable and everything works and is faster than ever ;) (couldn't say that when i played with unstable things)
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
albright
Advocate
Advocate
User avatar
Posts: 2588
Joined: Sun Nov 16, 2003 6:36 pm
Location: Near Toronto

Post by albright » Tue Dec 01, 2009 8:43 pm

After being sent out of my own thread, I'll post this here as requested:

The machine hibernates but when waking up throws an
error and freezes (sometimes after getting to the
kde desktop sometimes just a black screen); the error is something like:

Code: Select all

INIT: PANIC: segmentation violation
there's what looks like a memory address after the "violation"
this is a thinkpad x300 with intel graphics and KMS enabled
(intel driver 2.9.1 / xorg-server 1.7.1)

using BFS scheduler ...

Here is emerge --info

Code: Select all

emerge --info                                                                                          
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-zen9 i686)                                      
=================================================================                                                                           
System uname: Linux-2.6.31-zen9-i686-Intel-R-_Core-TM-2_Duo_CPU_L7100_@_1.20GHz-with-gentoo-2.0.1                                           
Timestamp of tree: Tue, 01 Dec 2009 09:00:01 +0000                                                                                          
distcc 3.1 i686-pc-linux-gnu [enabled]                                                                                                      
app-shells/bash:     4.0_p28                                                                                                                
dev-java/java-config: 2.1.9-r1                                                                                                              
dev-lang/python:     2.6.4, 3.1.1-r1                                                                                                        
dev-python/pycrypto: 2.0.1-r8                                                                                                               
dev-util/cmake:      2.8.0                                                                                                                  
sys-apps/baselayout: 2.0.1                                                                                                                  
sys-apps/openrc:     0.5.2-r2                                                                                                               
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11"
SYNC="rsync://gandalf/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds embedded emboss encode esd evo exif expat fam fbcondecor firefox flac fortran ftp gd gdbm gif gmp gpm gstreamer hal iconv idn java jpeg kde kpathsea lcms ldap libnotify mad mikmod mmx mmxext mng modules motif mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl phonon png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session slang spell spl sql ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis webkit win32codecs x264 x86 xcomposite xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

any advice welcome, TIA
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

Post by cheater1034 » Tue Dec 01, 2009 9:21 pm

albright wrote:After being sent out of my own thread, I'll post this here as requested:

The machine hibernates but when waking up throws an
error and freezes (sometimes after getting to the
kde desktop sometimes just a black screen); the error is something like:

Code: Select all

INIT: PANIC: segmentation violation
there's what looks like a memory address after the "violation"
this is a thinkpad x300 with intel graphics and KMS enabled
(intel driver 2.9.1 / xorg-server 1.7.1)

using BFS scheduler ...

Here is emerge --info

Code: Select all

emerge --info                                                                                          
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-zen9 i686)                                      
=================================================================                                                                           
System uname: Linux-2.6.31-zen9-i686-Intel-R-_Core-TM-2_Duo_CPU_L7100_@_1.20GHz-with-gentoo-2.0.1                                           
Timestamp of tree: Tue, 01 Dec 2009 09:00:01 +0000                                                                                          
distcc 3.1 i686-pc-linux-gnu [enabled]                                                                                                      
app-shells/bash:     4.0_p28                                                                                                                
dev-java/java-config: 2.1.9-r1                                                                                                              
dev-lang/python:     2.6.4, 3.1.1-r1                                                                                                        
dev-python/pycrypto: 2.0.1-r8                                                                                                               
dev-util/cmake:      2.8.0                                                                                                                  
sys-apps/baselayout: 2.0.1                                                                                                                  
sys-apps/openrc:     0.5.2-r2                                                                                                               
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11"
SYNC="rsync://gandalf/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds embedded emboss encode esd evo exif expat fam fbcondecor firefox flac fortran ftp gd gdbm gif gmp gpm gstreamer hal iconv idn java jpeg kde kpathsea lcms ldap libnotify mad mikmod mmx mmxext mng modules motif mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl phonon png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session slang spell spl sql ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis webkit win32codecs x264 x86 xcomposite xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

any advice welcome, TIA
can I get a .config too? (just on a pastebin or something would be good) . Have you used tuxonice on a vanilla 2.6.31 kernel yet?
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
albright
Advocate
Advocate
User avatar
Posts: 2588
Joined: Sun Nov 16, 2003 6:36 pm
Location: Near Toronto

Post by albright » Tue Dec 01, 2009 11:53 pm

my .config can be found here:

http://pastebin.com/m4d5e5684

with the kernel 2.6.31-gentoo-r4 tuxonice appears to
work very well (I do sometimes get mysterious failures--
failures to wake up properly -- but usually its OK)
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

Post by Anon-E-moose » Wed Dec 02, 2009 11:47 am

huckabuck wrote:Thanks for this, love the new white toast ...

Code: Select all

Linux gentoo 2.6.31-zen9 #1 ZEN SMP Mon Nov 30 19:36:32 EST 2009 i686 Intel(R) Celeron(R) CPU 2.40GHz GenuineIntel GNU/Linux
Using the BFS scheduler, latest stable X and nvidia drivers w/ compiz. And rockin' the gentoo G in the framebuffer with uvesafb

Code: Select all

2.6.31-zen9-custom #11 ZEN SMP PREEMPT Tue Dec 1 13:48:02 CST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Using the BFS scheduler, but wanted to try the nouveau drivers which required X-1.7, seems to be working fine so far.
System seems overall faster. No glitches or oops, so far.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Gordex
n00b
n00b
Posts: 26
Joined: Thu Jul 10, 2008 8:24 am

Post by Gordex » Wed Dec 02, 2009 5:18 pm

just updated to Toast.. Zen-Kernel rockz as usual.. everything is smooth -> keep up the good work and thanks
Top
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

Post by DigitalCorpus » Thu Dec 03, 2009 6:51 am

Okay, so playing with Xfce4 a bit with rr_interval set to 18 (that is defautl for a quad core). Unfortunately the paradigm of more cores == less latency is not true. I' had 2, 4-thread mencoder encodes in the backgorund. One niced to 19 and the other at -10. I had to drop r_interval down to ~6 in order to not have a choppy display when dragging around windows et al. Kind of an extreme case, but if you choose seemless latency, keep the rr_interval in the kernel set to 6 or below. Keep in mind the post-boot rr_interval seems to be calculated as in kernel rr_interval * (# cpus's - 1 ). Just an FYI for you all.
Atlas (HDTV PVR, HTTP & Media server)
http://mobrienphotography.com/
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

Post by Anon-E-moose » Thu Dec 03, 2009 12:05 pm

DigitalCorpus wrote:Okay, so playing with Xfce4 a bit with rr_interval set to 18 (that is defautl for a quad core). Unfortunately the paradigm of more cores == less latency is not true. I' had 2, 4-thread mencoder encodes in the backgorund. One niced to 19 and the other at -10. I had to drop r_interval down to ~6 in order to not have a choppy display when dragging around windows et al. Kind of an extreme case, but if you choose seemless latency, keep the rr_interval in the kernel set to 6 or below. Keep in mind the post-boot rr_interval seems to be calculated as in kernel rr_interval * (# cpus's - 1 ). Just an FYI for you all.
I used pappy's kernel for 2.6.31-zen9 and his value is set to 1,
seems to work fine at that.

This is from kernel help
CONFIG_BFS_RR_INTERVAL:

This is the smallest duration that any cpu process scheduling unit
will run for. Increasing this value can increase throughput of cpu
bound tasks substantially but at the expense of increased latencies
overall. Conversely decreasing it will decrease average and maximum
latencies but at the expense of throughput. This value is in
milliseconds and the default value chosen depends on the number of
cpus available at scheduler initialisation with a minimum of 6.

Valid values are from 1-5000.
Default is 6ms
3ms is recommended for a very interactive, responsive desktop
Good luck
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Martigen
n00b
n00b
Posts: 59
Joined: Tue Mar 04, 2003 1:49 pm

Post by Martigen » Thu Dec 03, 2009 2:49 pm

Hello,

Happy Zen user here, just a quick question: Zen includes the required hook for sreadahead to work, but this has now been superseded by ureadahead (installed by default with one of the first Karmic updates) and this now breaks while using Zen on Ubuntu. Apparently the Ubuntu kernel has the appropriate patch to work with ureadahead -- can you include this in the next Zen release?

Thanks again for a very snappy kernel :)
Top
albright
Advocate
Advocate
User avatar
Posts: 2588
Joined: Sun Nov 16, 2003 6:36 pm
Location: Near Toronto

Post by albright » Thu Dec 03, 2009 5:14 pm

About my problem with tuxonice (see above somewhere in
this thread not too far back).

I have no trouble with gentoo 2.6.31r6 kernel patched with
tuxonice patch -- hibernation now seems to work perfectly
(yesterday I hibernated and awoke 5 or 6 times with no
problems).

Zen 2.6.31_p9 causes a kernel panic (of various sorts - see
above post).

I also notice - maybe important - that while zen is trying to
wake up there is a brief period where the screen goes
weird -- it looks like a patchwork quilt. After that I see the
tuxonice wake up progress screen again and soon after
the system locks up (sometimes it actually shows the
desktop but usually not).

did zen mess with the intel graphics stuff?
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

Post by cheater1034 » Thu Dec 03, 2009 10:16 pm

albright wrote:About my problem with tuxonice (see above somewhere in
this thread not too far back).

I have no trouble with gentoo 2.6.31r6 kernel patched with
tuxonice patch -- hibernation now seems to work perfectly
(yesterday I hibernated and awoke 5 or 6 times with no
problems).

Zen 2.6.31_p9 causes a kernel panic (of various sorts - see
above post).

I also notice - maybe important - that while zen is trying to
wake up there is a brief period where the screen goes
weird -- it looks like a patchwork quilt. After that I see the
tuxonice wake up progress screen again and soon after
the system locks up (sometimes it actually shows the
desktop but usually not).

did zen mess with the intel graphics stuff?
No, doesnt touch intel graphics stuff (unless using the drmnext patch, but I can tell you're not from .config since drmnext patch renames kernel to -custom).

The thing for you to try first is to use the exact same configuration you use for gentoo sources (identical, including using the cfs scheduler) - if that still errors the problem, then i'd ask you to try the following patch on top of zen9

http://omploader.org/vMndzag (tuxonice-test.patch over 2.6.31-zen9)
Last edited by cheater1034 on Thu Dec 03, 2009 10:24 pm, edited 1 time in total.
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
huckabuck
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 110
Joined: Sat Apr 14, 2007 11:59 am
Location: Bronx, NY

Post by huckabuck » Thu Dec 03, 2009 10:20 pm

Anon-E-moose wrote:
DigitalCorpus wrote:Okay, so playing with Xfce4 a bit with rr_interval set to 18 (that is defautl for a quad core). Unfortunately the paradigm of more cores == less latency is not true. I' had 2, 4-thread mencoder encodes in the backgorund. One niced to 19 and the other at -10. I had to drop r_interval down to ~6 in order to not have a choppy display when dragging around windows et al. Kind of an extreme case, but if you choose seemless latency, keep the rr_interval in the kernel set to 6 or below. Keep in mind the post-boot rr_interval seems to be calculated as in kernel rr_interval * (# cpus's - 1 ). Just an FYI for you all.
I used pappy's kernel for 2.6.31-zen9 and his value is set to 1,
seems to work fine at that.

This is from kernel help
CONFIG_BFS_RR_INTERVAL:

This is the smallest duration that any cpu process scheduling unit
will run for. Increasing this value can increase throughput of cpu
bound tasks substantially but at the expense of increased latencies
overall. Conversely decreasing it will decrease average and maximum
latencies but at the expense of throughput. This value is in
milliseconds and the default value chosen depends on the number of
cpus available at scheduler initialisation with a minimum of 6.

Valid values are from 1-5000.
Default is 6ms
3ms is recommended for a very interactive, responsive desktop
Good luck
Setting this to 1 from the default 6 definitely increases the responsiveness on my desktop (gnome-light w/compiz)

Thanks for the tip.
Top
albright
Advocate
Advocate
User avatar
Posts: 2588
Joined: Sun Nov 16, 2003 6:36 pm
Location: Near Toronto

Post by albright » Fri Dec 04, 2009 12:58 am

Using CFS and config identical to my gentoo 2.6.31r6 config does not
help.

Unfortunately, the patch doesn't help either.

I took a picture of my frozen screen and here transcribe the
plaintive error message that is left there:

Code: Select all

init[1]: segfault at 0 ip (null) sp bfd01d9c  error 4 in init[8048000+7000]
init[1]: segfault at 0 ip (null) sp bfd01d9c  error 4 in init[8048000+7000]
Kernel panic - not syncing: Attempted to kill init!
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Top
rahulthewall
Veteran
Veteran
User avatar
Posts: 1264
Joined: Thu Nov 01, 2007 11:28 pm
Location: Zürich
Contact:
Contact rahulthewall
Website

Post by rahulthewall » Fri Dec 04, 2009 3:51 pm

So, is zen-stable now going to be migrated to 2.6.32?
Who shall guard the guards?
Top
ponciarello
Apprentice
Apprentice
User avatar
Posts: 223
Joined: Tue Jul 22, 2008 9:52 pm
Location: beach of slack

Post by ponciarello » Fri Dec 04, 2009 6:56 pm

i think yes, i can see heads getting updated, so we probably don't have to wait much :)
i think also that actual zen-stable master will become master-2.6.31.
look for monty python channel on youtube :D
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

Post by cheater1034 » Fri Dec 04, 2009 8:27 pm

It takes time, I'm not available to sit in front of it for hours and work on the rebasing :P, but as you can see I started the rebasing yesterday, may finish tonight or tomorrow and start merging to master.
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

Post by cheater1034 » Fri Dec 04, 2009 8:39 pm

cheater1034 wrote:It takes time, I'm not available to sit in front of it for hours and work on the rebasing :P, but as you can see I started the rebasing yesterday, may finish tonight or tomorrow and start merging to master.
*edit*
for the toi problem, I pushed the toi 3.1 update (latest git), and I reverted that ksm stuff but added a kvm/ksm patch - I expect problems are resolved, but please let me know.
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
albright
Advocate
Advocate
User avatar
Posts: 2588
Joined: Sun Nov 16, 2003 6:36 pm
Location: Near Toronto

Post by albright » Fri Dec 04, 2009 9:08 pm

Just a small addition to my situation

This morning I built the just released gentoo-sources 2.6.32
after patching it with the latest tuxonice patches.

It hibernates and re-awakes perfect SFAICT (only a few times
so far).
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

Post by cheater1034 » Sat Dec 05, 2009 5:04 am

albright wrote:Just a small addition to my situation

This morning I built the just released gentoo-sources 2.6.32
after patching it with the latest tuxonice patches.

It hibernates and re-awakes perfect SFAICT (only a few times
so far).
I believe it's fixed on zen 2.6.31 git now, I'm working on the 2.6.32 zen base currently and the final 2.6.30-zen release (git updates barring yet)

We are having some actual problems with the web site, the main page "zen-kernel.org" isn't loading 100% of the time, but git.zen-kernel.org, git, downloads.zen-kernel.org, etc. are all working fine - just an FYI.
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

Post by cheater1034 » Sat Dec 05, 2009 6:42 am

There's a 2.6.32 base in zen-stable now, very young still so give it a chance, you can tell me compile problems now, although there may be none :D, but i'll probably fish them out before then, here's help if you dont know how to fix merge conflicts.

http://zen-kernel.org/faq-folder/help-i ... -conflicts
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
Rion
Guru
Guru
User avatar
Posts: 383
Joined: Thu Oct 12, 2006 4:09 am
Location: Minsk, Belarus
Contact:
Contact Rion
Website

Post by Rion » Sat Dec 05, 2009 7:54 am

Code: Select all

scripts/kconfig/mconf.c:318: error: static declaration of 'get_symbol_str' follows non-static declaration
scripts/kconfig/lkc_proto.h:20: note: previous declaration of 'get_symbol_str' was here
rion-overlay
Top
ponciarello
Apprentice
Apprentice
User avatar
Posts: 223
Joined: Tue Jul 22, 2008 9:52 pm
Location: beach of slack

Post by ponciarello » Sat Dec 05, 2009 9:52 am

that with make menuconfig, make xconfig works.

commit for v2.6.32, if anyone want to use "git diff", is 22763c5cf3690a681551162c15d34d935308c8d7
in zen-stable folder

Code: Select all

git diff 22763c5cf3690a681551162c15d34d935308c8d7 origin/master | lzma -z -c > /tmp/2.6.32-zen-test.patch.lzma
then apply to vanilla 2.6.32.

it builds, now I try rebooting :)

EDIT: it looks fine :D
Last edited by ponciarello on Mon Dec 07, 2009 9:18 am, edited 1 time in total.
Top
tranquilcool
Veteran
Veteran
Posts: 1246
Joined: Fri Mar 25, 2005 1:16 pm

Post by tranquilcool » Sat Dec 05, 2009 10:46 am

CC drivers/block/ramzswap.o
drivers/block/ramzswap.c: In function ‘ramzswap_make_request’:
drivers/block/ramzswap.c:929: error: implicit declaration of function ‘bio_discard’
drivers/block/ramzswap.c: In function ‘ramzswap_ioctl_init_device’:
drivers/block/ramzswap.c:1030: error: implicit declaration of function ‘blk_queue_set_discard’
make[2]: *** [drivers/block/ramzswap.o] Error 1
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2

compile errors latest git stable. thanks.
this is a strange strange world.
Top
Locked

331 posts
  • Page 1 of 14
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 14
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic