2.6.21 dynticks and amarok
From: Thomas Meyer
Date: Thu Apr 26 2007 - 11:42:19 EST
Hi.
here a vmstat of my laptop with my favorite song player amarok running
and not running:
procs -----------memory---------- ---swap-- -----io---- -system--
----cpu----
r b swpd free buff cache si so bi bo in cs us sy
id wa
0 0 0 39476 62640 641028 0 0 25 26 182 766 5 1
93 1
0 0 0 39404 62640 641028 0 0 0 0 79 200 5 0
95 0
0 0 0 39404 62640 641028 0 0 0 12 50 134 5 0
95 0
0 0 0 39436 62640 641028 0 0 0 0 75 186 5 0
95 0
0 0 0 39436 62640 641028 0 0 0 0 46 134 5 0
95 0
0 0 0 39436 62640 641028 0 0 0 0 79 2192 5 0
95 0
0 0 0 39436 62640 641028 0 0 0 0 47 108 5 0
95 0
0 0 0 39468 62640 641028 0 0 0 0 71 186 5 0
95 0
1 0 0 39468 62640 641028 0 0 0 0 44 117 5 0
95 0
0 0 0 39468 62640 641028 0 0 0 0 56 185 5 1
95 0
0 0 0 39468 62640 641028 0 0 0 0 202 2455 6 0
94 0
0 0 0 39500 62640 641028 0 0 0 0 48 140 5 0
95 0
0 0 0 39500 62640 641028 0 0 0 0 65 196 5 0
95 0
0 0 0 39500 62640 641028 0 0 0 0 50 134 5 0
95 0
0 0 0 39500 62640 641028 0 0 0 0 71 205 5 0
95 0
0 0 0 39528 62640 641028 0 0 0 0 49 2132 5 0
95 0
0 0 0 39528 62640 641028 0 0 0 0 73 184 5 1
94 0
0 0 0 39528 62640 641028 0 0 0 0 51 135 5 0
95 0
0 0 0 39528 62648 641020 0 0 0 24 76 251 5 0
83 12
0 0 0 39560 62648 641028 0 0 0 0 54 155 5 0
95 0
0 0 0 39560 62648 641028 0 0 0 0 71 2192 5 0
95 0
0 0 0 39560 62648 641028 0 0 0 0 51 143 5 0
95 0
0 0 0 39560 62648 641028 0 0 0 0 79 989 6 1
93 0
1 0 0 39564 62656 641024 0 0 0 24 91 686 9 0
88 3
0 0 0 39564 62656 641024 0 0 0 0 87 355 9 0
91 0
5 0 0 39292 62676 641008 0 0 0 331 83 741 10 1
88 0
Starting amarok:
1 0 0 34312 62784 641000 0 0 0 1248 *321* 3443 46
5 45 5
2 0 0 28792 62792 641048 0 0 4 0 *232* 2796 48
7 44 2
0 0 0 22732 62796 641044 0 0 0 0 *134 *1719 33
5 62 0
0 0 0 22608 62796 641040 0 0 0 0 *122* 729 4
0 96 0
0 0 0 22608 62796 641040 0 0 0 0 *297* 3114 5
0 95 0
0 0 0 22608 62796 641040 0 0 0 0 *133* 742 5
0 95 0
0 0 0 22608 62796 641040 0 0 0 0 *155* 799 5
0 95 0
0 0 0 22648 62796 641040 0 0 0 0 *130* 745 5
0 95 0
0 0 0 22648 62796 641040 0 0 0 0 *171* 867 5
0 95 0
0 0 0 22712 62796 641040 0 0 0 0 *132* 2770 5
0 95 0
0 0 0 22712 62796 641040 0 0 0 0 *150* 804 5
0 95 0
0 0 0 22704 62796 641040 0 0 0 0 *133* 741 5
0 95 0
The number of interrupts goes up a lot, just for starting the song
player. I guess it does a open() on the sound device. These interrupts
numbers are just because of starting amarok, i don't even play a song in
this software. So here a two options:
1.) fix amarok to open the sound device when it's needed
2.) fix the kernel sound card driver to setup everthing, when an
application want to put data on the device
what do you think about this?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/