| View previous topic :: View next topic |
| Author |
Message |
Ant P. Veteran

Joined: 18 Apr 2009 Posts: 1919 Location: UK
|
Posted: Fri Jul 23, 2010 10:19 pm Post subject: |
|
|
| commit 94400120 - no more random X hangs on my laptop? Yay |
|
| Back to top |
|
 |
devl547 n00b

Joined: 25 Jul 2010 Posts: 9 Location: Moscow, Russia
|
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5489 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
devl547 n00b

Joined: 25 Jul 2010 Posts: 9 Location: Moscow, Russia
|
Posted: Sun Jul 25, 2010 1:14 pm Post subject: |
|
|
/*
* 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 |
|
 |
Ant P. Veteran

Joined: 18 Apr 2009 Posts: 1919 Location: UK
|
Posted: Sun Jul 25, 2010 4:01 pm Post subject: |
|
|
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 |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5489 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Sun Jul 25, 2010 4:02 pm Post subject: |
|
|
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
|
_________________ Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004  |
|
| Back to top |
|
 |
devl547 n00b

Joined: 25 Jul 2010 Posts: 9 Location: Moscow, Russia
|
Posted: Mon Jul 26, 2010 7:12 am Post subject: |
|
|
--- 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 |
|
 |
broch Tux's lil' helper

Joined: 09 Jul 2005 Posts: 94
|
Posted: Mon Jul 26, 2010 1:08 pm Post subject: |
|
|
| 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 |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5489 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
Colt45 Tux's lil' helper

Joined: 05 Sep 2007 Posts: 76 Location: Central Washington
|
Posted: Mon Jul 26, 2010 6:17 pm Post subject: |
|
|
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. _________________ "Dash" - 2x Intel Xeon 5148 2.33GHz, 4GB DDR2-667F, 500GB, (Gentoo amd64; gcc-4.5.4; 3.4.9-gentoo)
"Sarah" - AMD Athlon XP-M "3500+", 1GB DDR-400, 80GB + 40GB, 2x Intel PRO/100, (Gentoo Hardened x86; gcc-4.5.4; 3.5.4-hardened-r1) |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5489 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Wed Jul 28, 2010 7:41 pm Post subject: |
|
|
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  _________________ Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004  |
|
| Back to top |
|
 |
devl547 n00b

Joined: 25 Jul 2010 Posts: 9 Location: Moscow, Russia
|
Posted: Fri Jul 30, 2010 11:46 am Post subject: |
|
|
| Hmm... Use it for 4 days - no problems =\ |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5489 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
rahulthewall Veteran


Joined: 01 Nov 2007 Posts: 1264 Location: Zürich
|
Posted: Tue Aug 03, 2010 8:22 pm Post subject: |
|
|
| kernelOfTruth wrote: | *bump* to final 2.6.35 please
many thanks in advance ! |
Patience, friend, patience. I bet the devs are on it. _________________ Who shall guard the guards? |
|
| Back to top |
|
 |
Ant P. Veteran

Joined: 18 Apr 2009 Posts: 1919 Location: UK
|
Posted: Tue Aug 03, 2010 9:30 pm Post subject: |
|
|
| Hopefully by then the ACPI poweroff/suspend bugs will all be gone too. |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5489 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5489 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5489 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5489 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
wrc1944 Advocate

Joined: 15 Aug 2002 Posts: 2686 Location: Gainesville, Florida
|
Posted: Thu Aug 05, 2010 3:23 pm Post subject: |
|
|
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 880GM-LE AM3
Phenom II x6 1090T, 3.2 GHz, 8GB GSkill DDR3 1333mhz
Samsung SATA 500GB, Radeon HD 6570 2GB DDR3
Gentoo ~x86, ~amd64, glibc-2.17, gcc-4.7.2, kernel 3.8.11, 3.9.0 |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5489 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
wrc1944 Advocate

Joined: 15 Aug 2002 Posts: 2686 Location: Gainesville, Florida
|
Posted: Sat Aug 07, 2010 2:22 pm Post subject: |
|
|
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 880GM-LE AM3
Phenom II x6 1090T, 3.2 GHz, 8GB GSkill DDR3 1333mhz
Samsung SATA 500GB, Radeon HD 6570 2GB DDR3
Gentoo ~x86, ~amd64, glibc-2.17, gcc-4.7.2, kernel 3.8.11, 3.9.0 |
|
| Back to top |
|
 |
Gef Apprentice

Joined: 17 May 2008 Posts: 180 Location: France
|
Posted: Sat Aug 07, 2010 6:52 pm Post subject: |
|
|
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 |
|
 |
bollucks l33t

Joined: 27 Oct 2004 Posts: 606
|
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5489 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
|