Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Zen Kernel Discussion/Support Thread - Part 2
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3 ... 12, 13, 14  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Tue Dec 01, 2009 1:34 am    Post subject: Zen Kernel Discussion/Support Thread - Part 2 Reply with quote

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.
Back to top
View user's profile Send private message
huckabuck
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2007
Posts: 110
Location: Bronx, NY

PostPosted: Tue Dec 01, 2009 3:01 am    Post subject: Reply with quote

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

Code:
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
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Tue Dec 01, 2009 4:03 am    Post subject: Reply with quote

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

Code:
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.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Tue Dec 01, 2009 8:43 pm    Post subject: Reply with quote

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:
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:
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)
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Tue Dec 01, 2009 9:21 pm    Post subject: Reply with quote

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:
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:
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.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Tue Dec 01, 2009 11:53 pm    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6103
Location: Dallas area

PostPosted: Wed Dec 02, 2009 11:47 am    Post subject: Reply with quote

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

Code:
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:
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.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Gordex
n00b
n00b


Joined: 10 Jul 2008
Posts: 26

PostPosted: Wed Dec 02, 2009 5:18 pm    Post subject: Reply with quote

just updated to Toast.. Zen-Kernel rockz as usual.. everything is smooth -> keep up the good work and thanks
Back to top
View user's profile Send private message
DigitalCorpus
Apprentice
Apprentice


Joined: 30 Jul 2007
Posts: 283

PostPosted: Thu Dec 03, 2009 6:51 am    Post subject: Reply with quote

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/
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6103
Location: Dallas area

PostPosted: Thu Dec 03, 2009 12:05 pm    Post subject: Reply with quote

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
Quote:
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
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Martigen
n00b
n00b


Joined: 04 Mar 2003
Posts: 59

PostPosted: Thu Dec 03, 2009 2:49 pm    Post subject: Reply with quote

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 :)
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Thu Dec 03, 2009 5:14 pm    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Thu Dec 03, 2009 10:16 pm    Post subject: Reply with quote

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)
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.


Last edited by cheater1034 on Thu Dec 03, 2009 10:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
huckabuck
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2007
Posts: 110
Location: Bronx, NY

PostPosted: Thu Dec 03, 2009 10:20 pm    Post subject: Reply with quote

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
Quote:
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.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Fri Dec 04, 2009 12:58 am    Post subject: Reply with quote

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:

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)
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Fri Dec 04, 2009 3:51 pm    Post subject: Reply with quote

So, is zen-stable now going to be migrated to 2.6.32?
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
ponciarello
Apprentice
Apprentice


Joined: 22 Jul 2008
Posts: 223
Location: beach of slack

PostPosted: Fri Dec 04, 2009 6:56 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Fri Dec 04, 2009 8:27 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Fri Dec 04, 2009 8:39 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Fri Dec 04, 2009 9:08 pm    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Sat Dec 05, 2009 5:04 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Sat Dec 05, 2009 6:42 am    Post subject: Reply with quote

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-get-all-these-merge-conflicts
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
Rion
Guru
Guru


Joined: 12 Oct 2006
Posts: 383
Location: Minsk, Belarus

PostPosted: Sat Dec 05, 2009 7:54 am    Post subject: Reply with quote

Code:
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
Back to top
View user's profile Send private message
ponciarello
Apprentice
Apprentice


Joined: 22 Jul 2008
Posts: 223
Location: beach of slack

PostPosted: Sat Dec 05, 2009 9:52 am    Post subject: Reply with quote

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:
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
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Sat Dec 05, 2009 10:46 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3 ... 12, 13, 14  Next
Page 1 of 14

 
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