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

Goto page Previous  1, 2, 3, 4, 5 ... 21, 22, 23  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Jul 23, 2010 10:19 pm    Post subject: Reply with quote

commit 94400120 - no more random X hangs on my laptop? Yay
Back to top
View user's profile Send private message
devl547
n00b
n00b


Joined: 25 Jul 2010
Posts: 9
Location: Moscow, Russia

PostPosted: Sun Jul 25, 2010 12:36 pm    Post subject: Reply with quote

cpufreq: interactive: New 'interactive' governor

New interactive governor.

This governor is designed for latency sensitive workloads, UI interaction for
example.

http://github.com/CyanogenMod/cm-kernel/commit/255f13bf41f368aa51638a854ed69cfc60f39120


Maybe include in zen?
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Jul 25, 2010 1:02 pm    Post subject: Reply with quote

devl547 wrote:
cpufreq: interactive: New 'interactive' governor

New interactive governor.

This governor is designed for latency sensitive workloads, UI interaction for
example.

http://github.com/CyanogenMod/cm-kernel/commit/255f13bf41f368aa51638a854ed69cfc60f39120


Maybe include in zen?


this looks really really useful :)

especially in handsets - where it's coming from ?
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
devl547
n00b
n00b


Joined: 25 Jul 2010
Posts: 9
Location: Moscow, Russia

PostPosted: Sun Jul 25, 2010 1:14 pm    Post subject: Reply with quote

/*
* drivers/cpufreq/cpufreq_interactive.c
*
* Copyright (C) 2010 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Author: Mike Chan (mike@android.com)
*
*/
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Jul 25, 2010 4:01 pm    Post subject: Reply with quote

My idea of a perfect cpufreq driver would be one like that, but going straight to full speed when there's processes to run, and dropping to minimum speed as soon as they're done.

ondemand has never really made sense to me, surely the kernel knows exactly when work starts and stops so it shouldn't need to poll cpu usage all the time.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Jul 25, 2010 4:02 pm    Post subject: Reply with quote

it fails - and I'm not the only one:
Quote:
IKCFG kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
CC drivers/cpufreq/cpufreq_interactive.o
drivers/cpufreq/cpufreq_interactive.c: In function ‘cpufreq_interactive_freq_change_time_work’:
drivers/cpufreq/cpufreq_interactive.c:185:2: error: incompatible type for argument 2 of ‘cpumask_next’
include/linux/cpumask.h:169:28: note: expected ‘const struct cpumask *’ but argument is of type ‘cpumask_t’
drivers/cpufreq/cpufreq_interactive.c:185:2: warning: left-hand operand of comma expression has no effect
make[2]: *** [drivers/cpufreq/cpufreq_interactive.o] Error 1
make[1]: *** [drivers/cpufreq] Error 2
make: *** [drivers] Error 2

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
devl547
n00b
n00b


Joined: 25 Jul 2010
Posts: 9
Location: Moscow, Russia

PostPosted: Mon Jul 26, 2010 7:12 am    Post subject: Reply with quote

--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2910,6 +2910,7 @@ unsigned long nr_running(void)

return sum;
}
+EXPORT_SYMBOL_GPL(nr_running);

and in drivers/cpufreq/cpufreq_interactive.c:185

-cpumask_t tmp_mask = work_cpumask;
+cpumask_t *tmp_mask = &work_cpumask;
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: Mon Jul 26, 2010 1:08 pm    Post subject: Reply with quote

broch wrote:
2.6.35-rc4-zen1

compiles just fine but two things seems to be broken:
1) ath9k
with dhcpcd timing out (confirmed on vanilla 2.6.35-rc4)
2) tuxonice
when trying tohibernate system hangs at "Doing atomic copy/restore" . Hybernate is nor reliable but issue is related to intel video problem (well known): system hibernates/resumes just fine but freezes after a while with intel video errors. I was hoping that 2.6.35-rc will fix this, unfortunately I can't test this as it seems that tuxonice is broken.

This is netbook with Atom n450/video Intel GMA 3150/2GB RAM
I am using the same config file as with 2.6.34-zen1 where ath9k works.

thanks


exactly the same problems with 2.6.35-rc6
in addition suspend-to-ram is failing on another system with core duo T2500, 2GB RAM and nvidia (though network works).

So two systems with different hardware have problems with suspend-to-ram and suspend-to-disk
one system has an issue with failing network possible cause driver for ath9k
second system with iwl3945 does not have network issues

both systems work well without issues with 2.6.34-zen2
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Jul 26, 2010 1:15 pm    Post subject: Reply with quote

devl547 wrote:
--- a/kernel/sched.c
+++ b/kernel/sched.c

@@ -2910,6 +2910,7 @@ unsigned long nr_running(void)

return sum;
}
+EXPORT_SYMBOL_GPL(nr_running);

and in drivers/cpufreq/cpufreq_interactive.c:185

-cpumask_t tmp_mask = work_cpumask;
+cpumask_t *tmp_mask = &work_cpumask;


thanks a lot devl547 ! :)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Colt45
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2007
Posts: 122
Location: Central Washington

PostPosted: Mon Jul 26, 2010 6:17 pm    Post subject: Reply with quote

Decided to give .34-zen1 a shot on my eeepc. Works great! Its too bad it has some sort of issue with my Dell XPS.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Jul 28, 2010 7:41 pm    Post subject: Reply with quote

seems like it doesn't work that well yet:
Quote:
[ 9526.987379] ------------[ cut here ]------------
[ 9526.987390] WARNING: at fs/sysfs/group.c:138 cpufreq_governor_interactive+0xfd/0x150()
[ 9526.987394] Hardware name: ipower G3710
[ 9526.987397] sysfs group ffffffff81c70330 not found for kobject 'cpufreq'
[ 9526.987399] Modules linked in: fglrx(P) it87 hwmon_vid hwmon xt_owner xt_iprange e1000e i2c_i801 wmi libphy e1000 scsi_wait_scan sl811_hcd ohci_hcd ssb usb_storage ehci_hcd [last unloaded: fglrx]
[ 9526.987421] Pid: 14677, comm: echo Tainted: P 2.6.35-rc6-zen1_interactive+ #2
[ 9526.987424] Call Trace:
[ 9526.987431] [<ffffffff81046cdb>] ? warn_slowpath_common+0x7b/0xc0
[ 9526.987436] [<ffffffff81046dd5>] ? warn_slowpath_fmt+0x45/0x50
[ 9526.987442] [<ffffffff8113a72f>] ? sysfs_remove_group+0x2f/0x110
[ 9526.987447] [<ffffffff8158124d>] ? cpufreq_governor_interactive+0xfd/0x150
[ 9526.987452] [<ffffffff8157ceac>] ? __cpufreq_governor+0xcc/0x150
[ 9526.987499] [<ffffffff8157d0cc>] ? __cpufreq_set_policy+0x19c/0x230
[ 9526.987504] [<ffffffff8157d55f>] ? store_scaling_governor+0x12f/0x260
[ 9526.987509] [<ffffffff8157d900>] ? handle_update+0x0/0x30
[ 9526.987514] [<ffffffff8157d430>] ? store_scaling_governor+0x0/0x260
[ 9526.987518] [<ffffffff8157c9d0>] ? store+0x60/0xa0
[ 9526.987523] [<ffffffff81137605>] ? sysfs_write_file+0xd5/0x160
[ 9526.987529] [<ffffffff810d0f96>] ? vfs_write+0xb6/0x190
[ 9526.987534] [<ffffffff810d12de>] ? sys_write+0x4e/0x90
[ 9526.987539] [<ffffffff8174530f>] ? page_fault+0x1f/0x30
[ 9526.987545] [<ffffffff810026eb>] ? system_call_fastpath+0x16/0x1b
[ 9526.987563] ---[ end trace 07e5539481c6163f ]---


this happened during the creation of a stage4-tarball and it took nearly twice as long as normally :(
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
devl547
n00b
n00b


Joined: 25 Jul 2010
Posts: 9
Location: Moscow, Russia

PostPosted: Fri Jul 30, 2010 11:46 am    Post subject: Reply with quote

Hmm... Use it for 4 days - no problems =\
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Aug 03, 2010 8:11 pm    Post subject: Reply with quote

*bump* to final 2.6.35 please :P

many thanks in advance !
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


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

PostPosted: Tue Aug 03, 2010 8:22 pm    Post subject: Reply with quote

kernelOfTruth wrote:
*bump* to final 2.6.35 please :P

many thanks in advance !


Patience, friend, patience. :P I bet the devs are on it.
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Aug 03, 2010 9:30 pm    Post subject: Reply with quote

Hopefully by then the ACPI poweroff/suspend bugs will all be gone too.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Aug 04, 2010 1:29 am    Post subject: Reply with quote

rahulthewall wrote:
kernelOfTruth wrote:
*bump* to final 2.6.35 please :P

many thanks in advance !


Patience, friend, patience. :P I bet the devs are on it.


bfq for 2.6.35 is ready so - yeah, I'm sure it'll soon be available :)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Aug 04, 2010 9:08 pm    Post subject: Reply with quote

sorry to report, but there's a BUG in BFQ:
Quote:
BUG unable to handle kernel NULL Pointer dereference at ...
[< ... >] bfq_exit_single_io_context


this happened after I switched from cfq to bfq :idea:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Aug 04, 2010 9:27 pm    Post subject: Reply with quote

check that patch out:
https://forums.gentoo.org/viewtopic-t-793263-start-50-postdays-0-postorder-asc-highlight-.html
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Aug 05, 2010 8:27 am    Post subject: Reply with quote

8O

now those are already 7:
http://lkml.org/lkml/2010/8/5/38

I noticed some latencies and jerky behavior in a non-composited environment, e.g. stuttering for several seconds of webradio (in firefox) while preparing a emerge-queue of the xorg-server

so please also apply the additional ones

thanks ! :D
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3432
Location: Gainesville, Florida

PostPosted: Thu Aug 05, 2010 3:23 pm    Post subject: Reply with quote

Anyone taken a look at this (brand new slub)?
http://lwn.net/Articles/398650/ Here's a brief quote:
Quote:
The following is a first release of an allocator based on SLAB
and SLUB that integrates the best approaches from both allocators. The
per cpu queuing is like the two prior releases. The NUMA facilities
were much improved vs V2. Shared and alien cache support was added to
track the cache hot state of objects.

After this patches SLUB will track the cpu cache contents
like SLAB attemped to. There are a number of architectural differences:

1. SLUB accurately tracks cpu caches instead of assuming that there
is only a single cpu cache per node or system.

2. SLUB object expiration is tied into the page reclaim logic. There
is no periodic cache expiration.

3. SLUB caches are dynamically configurable via the sysfs filesystem.

4. There is no per slab page metadata structure to maintain (aside
from the object bitmap that usually fits into the page struct).

5. Keeps all the other good features of SLUB as well.
Even to me of limited kernel knowledge, this looks pretty interesting, with good potential.

Does anyone think it's worth giving it a try with 2.6.35?

More new Linux desktop responsiveness stuff I've just run across: http://www.phoronix.com/scan.php?page=news_item&px=ODQ3Mw
Related LKML page: http://lkml.org/lkml/2010/8/1/40
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.7.2 USE=experimental python3_11
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Aug 05, 2010 3:59 pm    Post subject: Reply with quote

this definitely would be interesting

zen has SLQB but that (afaik) is less efficient in memory usage but faster than slub & slab

so a slab like "SLUB: The Unified slab allocator (V3)" would be very welcome: just a little less efficient than slub but much better than it (especially on NUMA)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3432
Location: Gainesville, Florida

PostPosted: Sat Aug 07, 2010 2:22 pm    Post subject: Reply with quote

Patch request : Would the zen devs please consider including the 2900_xconfig-with-qt4.patch for 2.6.35 zen? http://sourcestest.gentoo.org/cgi-bin/viewvc.cgi/linux-patches/genpatches-2.6/trunk/2.6.35/

It would be very convenient for those preferring make xconfig, and not wishing to deal with running the kde-sunset (qt3) overlay. It's very small.

BTW, bfs-323 for 2.6.35 is out. I just gave it a try (also applied the xconfig qt4 patch), and it's working well. I usually do a vanilla kernel with bfs with each major kernel release, before ck1 or zen1 is released.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.7.2 USE=experimental python3_11
Back to top
View user's profile Send private message
Gef
Apprentice
Apprentice


Joined: 17 May 2008
Posts: 180
Location: France

PostPosted: Sat Aug 07, 2010 6:52 pm    Post subject: Reply with quote

zen.git (ec6ae446a5b9c82c6efff327716f4b66f9b07be1)

Compilation dies with:
Code:
  LD      net/sunrpc/built-in.o
  LD      net/built-in.o
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
mm/built-in.o: In function `watermark_wakeup':
vmscan.c:(.text+0xbd7f): undefined reference to `above_background_load'
make: *** [.tmp_vmlinux1] Erreur 1

_________________
Laptop : Gentoo ~amd64
(remote) Server : Gentoo amd64
Back to top
View user's profile Send private message
bollucks
l33t
l33t


Joined: 27 Oct 2004
Posts: 606

PostPosted: Sat Aug 07, 2010 10:53 pm    Post subject: 2.6.35-ck1 Reply with quote

2.6.35-ck1:
http://lkml.org/lkml/2010/8/6/627
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Aug 07, 2010 11:00 pm    Post subject: Re: 2.6.35-ck1 Reply with quote

bollucks wrote:
2.6.35-ck1:
http://lkml.org/lkml/2010/8/6/627


everything should already be in place (== applied) :wink:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
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, 5 ... 21, 22, 23  Next
Page 4 of 23

 
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