** le kernel 5.8 est dispo **

hum hum, après plusieurs tests : Alsa 1.0.5a ne fctionne pas chez moi sur le 2.6.8.1 …

Sachant que le 1.0.6 passe bien, mais que le pilote a été bcp modifié et que les mixeurs st bizarres, de même que le réglage du volume, l’option 1.0.6 est exclue :/.

Sinon, via portage, je peux rétrograder au 1.0.3 (en dessous du 1.0.5a, le 1.0.4 étant sucré), mais comme le noyau 2.6.8.1 contient Alsa 1.0.4, je reste sur cette version pour ce noyau (bizarre que le 1.0.5a ne passe pas, même sur un mm :/).

Qqn a des infos dessus ?

NB : le pilote Alsa 1.0.5a passe nickel sur les noyaux antérieurs au 2.6.8.1 … (enfin, j’ai pas testé le 2.6.9-rc1 encore, mais tt le reste, avec les mm, love, nitro …).

édit : je regarde sur la mailling list Alsa http://sourceforge.net/mailarchive/forum.php?forum_id=1751

édit (2) : bon, c’est un bug pour le 1.0.6 :confused: http://sourceforge.net/mailarchive/forum.php?thread_id=5375093&forum_id=1751

Anecdote : le réglage est à fond par défaut avec le 1.0.6, ça peut surprendre :smiley: (mais mon tps de réaction a été élevé :smiley: :D).

Ensuite, reste à voir pq le 2.6.8.1 reste en stand bye au boot sur les mixeurs avec le 1.0.5a …

Recherche une mignone petite idée…

Je cherche à connaitre l’arbre des fonctions appellées par le noyau, avec les dates d’appels.
J’ai le projet ltt, mais je ne trouve que de patchs complètemet obsolètes :confused:

Si qq 1 à une idée?

non dsl mais si tu trouves je suis preneur :wink:

J’ai des patchs ltt pour le 2.6.??? que j’ai relooké pour le 2.6.8, je ne sais pas si ça va tourner?

En cas je vais voir si je peux modifier le projet ltt pour faire ce que je veux. je te dis ça dès que possible.

Bon pour le moment ce n’est pas top, il faut que je remette les mains dans le cambouis… à ce niveau c’est même dans les égouts :confused:

Tu as besoin de tracer quel genre de fonctions appellées par le noyau? toutes?

2.6.9-rc1-mm1 out
[fixed]The latest -mm patch to the stable Linux kernels is: 2.6.9-rc1-mm1 2004-08-26 07:26 UTC V Changelog[/fixed]

compilation bientôt, espérons qu’il démarre

bon ben alors

[fixed] fsck.reiserfs for device /dev/hda5 exited with signal 6
impossible to blablabla … :c [/fixed]

fakbill : J’ai besoin de tracer la pile d’appel de NFSv4 lors d’une écriture d’un fichier

Val1472 : merci, en fait ce qui est indispensable c’est d’avoir les dates d’appels. je cherche à savoir pourquoi on perd tant de temps dans l’écriture de certains fichiers avec NFSv4.
gdb ne fait pas ça… et je ne vois pas trop l’utilité de UML puisque j’ai 2 machines linux.

en sommes ce serait plus exactement un profiler qu’il faudrait

Oui, mais le seul que je connaisse est OProfile qui donne une charge statistique des fonctions, et ça ne me va pas trop : en fait la charge du système est presque nulle.
Apparement il s’agit d’un bug dans les RPC qui cause ça et l’augmentation du temps passsé dans les fonctions (que je ne connais pas) se fait aléatoirement… C’est un peu difficile avec un profiler statistique.

J’ai réussi à patcher avec LTT (après de grosses bidouilles) et je vais rajouter des marqueurs de temps aux trace données par LTT.

Dès que j’ai un truc qui marche je l’envoie sur la mailing list LTT.

C’est bon j’ai mergé les patchs LTT, je vais voir ce que ça donne.

edit: ce que ça donne : c’est la forêt vierge, j’ai 1 fichier par CPU, et comme les interruptions sont réparties sur les 2 cpu, c’est la galère à lire. Les temps sont donnés en cycle d’horloge, supersimple à lire.
On n’a pas les nom des fonctions appellées :frowning:

"ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6.9-rc1-mm2/

Nothing particularly noteworthy here. Some seriously bad scheduler
performance with SMT and HT was fixed up, as was the
fails-to-read-the-last-4k-of-a-file brown bag.

v_atekor : et ben si avec ça tu arrive à trouver les appels dans lesquels vous perdez du temps chapeau :wink:

J’ai trouvé un meilleur patch :slight_smile: et je suis entrains de m’en faire un sur mesure :smiley:
http://people.redhat.com/mingo/voluntary-preempt/voluntary-preempt-2.6.8-rc4-O6

c’est un pacth qui essaye de réduire les temps de lantence dans le noyau ça non?

En fait il ne les réduit pas, mais il me donne le temps passé dans les sections critiques… et en fait pratiquement le temps passé dans les fonctions. Ce n’est pas loin de ce que je cherche :slight_smile:

Ha oui : un survol du code vient de me faire comprendre ça…

Ce fut laborieux… mais j’y suis à mes traces interressantes :
Sur le nfsd on a de grosses latences.
[fixed]
eempt_count+0x57/0x60
[] smp_apic_timer_interrupt+0x9f/0x175
[] smp_apic_timer_interrupt+0x9f/0x175
[] default_idle+0x0/0x37
[] apic_timer_interrupt+0x1a/0x20
[] default_idle+0x0/0x37
[] sys_sethostname+0x47/0xf3
[] default_idle+0x32/0x37
[] cpu_idle+0x3c/0x45
[] start_kernel+0x18e/0x1ba
[] unknown_bootoption+0x0/0x16f
(swapper/0): new 113 us maximum-latency critical section.
=> started at: <smp_apic_timer_interrupt+0x35/0x175>
=> ended at: <smp_apic_timer_interrupt+0x9f/0x175>
[] check_preempt_timing+0x17c/0x1c6
[] smp_apic_timer_interrupt+0x9f/0x175
[] sub_preempt_count+0x57/0x60
[] smp_apic_timer_interrupt+0x9f/0x175
[] smp_apic_timer_interrupt+0x9f/0x175
[] default_idle+0x0/0x37
[] apic_timer_interrupt+0x1a/0x20
[] default_idle+0x0/0x37
[] sys_sethostname+0x47/0xf3
[] default_idle+0x32/0x37
[] cpu_idle+0x3c/0x45
[] start_kernel+0x18e/0x1ba
[] unknown_bootoption+0x0/0x16f
(swapper/0): new 169 us maximum-latency critical section.
=> started at: <smp_apic_timer_interrupt+0x35/0x175>
=> ended at: <smp_apic_timer_interrupt+0x9f/0x175>
[] check_preempt_timing+0x17c/0x1c6
[] smp_apic_timer_interrupt+0x9f/0x175
[] sub_preempt_count+0x57/0x60
[] smp_apic_timer_interrupt+0x9f/0x175
[] smp_apic_timer_interrupt+0x9f/0x175
[] default_idle+0x0/0x37
[] apic_timer_interrupt+0x1a/0x20
[] default_idle+0x0/0x37
[] sys_sethostname+0x47/0xf3
[] default_idle+0x32/0x37
[] cpu_idle+0x3c/0x45
[] start_kernel+0x18e/0x1ba
[] unknown_bootoption+0x0/0x16f
(nfsd/2009): new 234 us maximum-latency critical section.
=> started at: <schedule+0x65/0x952>
=> ended at: <schedule+0x34d/0x952>
[] check_preempt_timing+0x17c/0x1c6
[] schedule+0x34d/0x952
[] sub_preempt_count+0x57/0x60
[] schedule+0x34d/0x952
[] schedule+0x34d/0x952
[] sub_preempt_count+0x57/0x60
[] schedule_timeout+0x6b/0xbf
[] sub_preempt_count+0x57/0x60
[] process_timeout+0x0/0x9
[] svc_recv+0x482/0x5de
[] svcauth_unix_release+0x57/0x59
[] default_wake_function+0x0/0x12
[] default_wake_function+0x0/0x12
[] sigprocmask+0x91/0x104
[] nfsd+0x16c/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(swapper/0): new 560 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] default_idle+0x0/0x37
[] common_interrupt+0x18/0x20
[] default_idle+0x0/0x37
[] sys_sethostname+0x47/0xf3
[] default_idle+0x32/0x37
[] cpu_idle+0x3c/0x45
[] start_kernel+0x18e/0x1ba
[] unknown_bootoption+0x0/0x16f
(nfsd/2009): new 1074 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] svc_sock_enqueue+0x13/0x2bc
[] svc_recv_available+0x3c/0x53
[] svc_tcp_recvfrom+0xf0/0x420
[] schedule+0x34d/0x952
[] sub_preempt_count+0x57/0x60
[] del_timer+0x9b/0xbd
[] del_timer+0x9b/0xbd
[] sub_preempt_count+0x57/0x60
[] local_bh_enable+0x13/0x9a
[] svc_recv+0x27f/0x5de
[] svcauth_unix_release+0x57/0x59
[] default_wake_function+0x0/0x12
[] default_wake_function+0x0/0x12
[] sigprocmask+0x91/0x104
[] nfsd+0x16c/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2008): new 1576 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] kfree+0x4d/0x6d
[] do_readv_writev+0x176/0x25f
[] do_sync_write+0x0/0xad
[] fh_verify+0xb9/0x592
[] sub_preempt_count+0x57/0x60
[] open_private_file+0x9f/0xa1
[] vfs_writev+0x60/0x64
[] nfsd_write+0x119/0x366
[] sub_preempt_count+0x57/0x60
[] svc_expkey_lookup+0x3b4/0x4a7
[] svc_expkey_lookup+0x3b4/0x4a7
[] nfsd4_proc_compound+0x1157/0x1226
[] nfsd_dispatch+0x0/0x1d9
[] nfsd_dispatch+0xdc/0x1d9
[] nfsd_dispatch+0x0/0x1d9
[] svc_process+0x50b/0x62e
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2007): new 3654 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] svc_process+0x331/0x62e
[] sub_preempt_count+0x57/0x60
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2008): new 6833 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] xprt_transmit+0x478/0x597
[] svc_process+0x1b6/0x62e
[] sub_preempt_count+0x57/0x60
[] sigprocmask+0x91/0x104
[] sigprocmask+0x91/0x104
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2009): new 8136 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] svc_process+0x3c9/0x62e
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2009): new 13828 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] groups_free+0x18/0x53
[] set_current_groups+0x63/0x9b
[] set_current_groups+0x88/0x9b
[] nfsd_setuser+0x9a/0x1d8
[] fh_verify+0x16e/0x592
[] voluntary_resched+0x1d/0x66
[] nfsd4_proc_compound+0x7b7/0x1226
[] nfsd4_decode_write+0x4a/0x18a
[] nfsd_dispatch+0x0/0x1d9
[] nfsd_dispatch+0xdc/0x1d9
[] nfsd_dispatch+0x0/0x1d9
[] svc_process+0x50b/0x62e
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2009): new 15141 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] ___do_softirq+0x99/0xb5
[] nfsd+0x250/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2007): new 18962 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] svc_process+0x37/0x62e
[] sub_preempt_count+0x57/0x60
[] sigprocmask+0x91/0x104
[] sigprocmask+0x91/0x104
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2008): new 19961 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] nfsd4_proc_compound+0x104a/0x1226
[] nfsd4_decode_write+0x4a/0x18a
[] nfsd_dispatch+0x0/0x1d9
[] nfsd_dispatch+0xdc/0x1d9
[] nfsd_dispatch+0x0/0x1d9
[] svc_process+0x50b/0x62e
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2009): new 20760 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] nfs4svc_encode_compoundres+0x31/0x85
[] nfsd_dispatch+0x11d/0x1d9
[] nfsd_dispatch+0x0/0x1d9
[] svc_process+0x50b/0x62e
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2009): new 20827 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] nfsd4_encode_operation+0x25f/0x287
[] nfsd4_proc_compound+0x154/0x1226
[] nfsd_dispatch+0x0/0x1d9
[] nfsd_dispatch+0xdc/0x1d9
[] nfsd_dispatch+0x0/0x1d9
[] svc_process+0x50b/0x62e
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2008): new 20985 us maximum-latency critical section.
=> started at: <do_IRQ+0x1f/0x24a>
=> ended at: <do_IRQ+0x1c7/0x24a>
[] check_preempt_timing+0x17c/0x1c6
[] do_IRQ+0x1c7/0x24a
[] sub_preempt_count+0x57/0x60
[] do_IRQ+0x1c7/0x24a
[] do_IRQ+0x1c7/0x24a
[] common_interrupt+0x18/0x20
[] nfsd4_decode_putfh+0x9/0xff
[] nfsd4_decode_compound+0x234/0x476
[] nfsd_dispatch+0x0/0x1d9
[] nfs4svc_decode_compoundargs+0x4d/0x70
[] nfsd_dispatch+0x6c/0x1d9
[] nfsd_dispatch+0x0/0x1d9
[] svc_process+0x50b/0x62e
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(nfsd/2008): new 30320 us maximum-latency critical section.
=> started at: <svc_expkey_lookup+0x478/0x4a7>
=> ended at: <svc_expkey_lookup+0x3b4/0x4a7>
[] check_preempt_timing+0x17c/0x1c6
[] svc_expkey_lookup+0x3b4/0x4a7
[] sub_preempt_count+0x57/0x60
[] svc_expkey_lookup+0x3b4/0x4a7
[] svc_expkey_lookup+0x3b4/0x4a7
[] exp_find_key+0x74/0xae
[] local_bh_enable+0x13/0x9a
[] svc_tcp_recvfrom+0x292/0x420
[] fh_verify+0x4a0/0x592
[] voluntary_resched+0x1d/0x66
[] nfsd4_proc_compound+0x7b7/0x1226
[] nfsd4_decode_write+0x4a/0x18a
[] nfsd_dispatch+0x0/0x1d9
[] nfsd_dispatch+0xdc/0x1d9
[] nfsd_dispatch+0x0/0x1d9
[] svc_process+0x50b/0x62e
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
(ksoftirqd/1/5): new 43143 us maximum-latency critical section.
=> started at: <schedule+0x65/0x952>
=> ended at: <schedule+0x34d/0x952>
[] check_preempt_timing+0x17c/0x1c6
[] schedule+0x34d/0x952
[] sub_preempt_count+0x57/0x60
[] schedule+0x34d/0x952
[] schedule+0x34d/0x952
[] __kfree_skb+0x6f/0xe4
[] ksoftirqd+0xd8/0xf6
[] ksoftirqd+0x0/0xf6
[] kthread+0xb7/0xbd
[] kthread+0x0/0xbd
[] kernel_thread_helper+0x5/0xb
(migration/1/4): new 61807 us maximum-latency critical section.
=> started at: <schedule+0x65/0x952>
=> ended at: <schedule+0x34d/0x952>
[] check_preempt_timing+0x17c/0x1c6
[] schedule+0x34d/0x952
[] sub_preempt_count+0x57/0x60
[] schedule+0x34d/0x952
[] schedule+0x34d/0x952
[] sub_preempt_count+0x57/0x60
[] migration_thread+0x188/0x1f5
[] migration_thread+0x0/0x1f5
[] kthread+0xb7/0xbd
[] kthread+0x0/0xbd
[] kernel_thread_helper+0x5/0xb
(migration/0/2): new 63573 us maximum-latency critical section.
=> started at: <migration_thread+0x67/0x1f5>
=> ended at: <migration_thread+0x17b/0x1f5>
[] check_preempt_timing+0x17c/0x1c6
[] migration_thread+0x17b/0x1f5
[] sub_preempt_count+0x57/0x60
[] migration_thread+0x17b/0x1f5
[] migration_thread+0x17b/0x1f5
[] migration_thread+0x0/0x1f5
[] kthread+0xb7/0xbd
[] kthread+0x0/0xbd
[] kernel_thread_helper+0x5/0xb
(nfsd/2009): new 69057 us maximum-latency critical section.
=> started at: <ip_map_lookup+0x3f6/0x416>
=> ended at: <ip_map_lookup+0x39a/0x416>
[] check_preempt_timing+0x17c/0x1c6
[] ip_map_lookup+0x39a/0x416
[] sub_preempt_count+0x57/0x60
[] ip_map_lookup+0x39a/0x416
[] ip_map_lookup+0x39a/0x416
[] svcauth_unix_accept+0x1c5/0x2a8
[] sub_preempt_count+0x57/0x60
[] svc_authenticate+0xdf/0x10e
[] svc_process+0x223/0x62e
[] sub_preempt_count+0x57/0x60
[] sigprocmask+0x91/0x104
[] nfsd+0x24b/0x496
[] nfsd+0x0/0x496
[] kernel_thread_helper+0x5/0xb
[/fixed]

Je crois que les fonctions qui se trainent sont :
do_IRQ
ip_map_lookup
kernel_thread_helper
svc_expkey_lookup

Je vais faire les mêmes tests sur le client.

2.6.9-rc1-mm3 out (le love1 basé sur le mm2 était pas mal, sauf Alsa un peu cassé quoi :/, et puis il fallait aussi patcher les Nvidia)
[fixed]The latest -mm patch to the stable Linux kernels is: 2.6.9-rc1-mm3 2004-09-03 08:18 UTC V Changelog[/fixed]
Pour les utilisateur d’ext3 :
[fixed]ext3 reservation code is currently being optimised by Stephen Tweedie
(replace a serious-looking linear search with an rbtree). I’d expect
those patches to land in -mm soon.[/fixed]