Moses Leslie wrote:
On Sat, 2 Apr 2005, Jack Coates wrote:


FWIW, I get similarly poor performance with 6.0 on my setup, which I
consider fairly hefty and underworked in general.  I did get significantly
improved responsiveness by changing the IO scheduler in 2.6 to cfq (don't
even get me started on the horrible schedulers and vm in linux..)


You know, that might be a factor; I've kept my kernel backported to 2.4 for a lot of reasons. I also don't use shuffle much.


I had the same-ish issues under 2.4, I went to 2.6 fairly recently
specifically to use the alternative schedulers, 2.2 was when I was last
happy with linux vm stuff :)


what's your vmstat look like during a sort?


Unfortunately, I'm not sure.  The vmstat that comes with debian stable
apparently doesn't like the new /proc structure that comes with 2.6, and
promptly dies after starting it :)

If I have to reboot for some other reason I'll boot into 2.4 and see what
vmstat looks like.


Maybe there's some perl library where older versions are significantly
less efficient (but still work)?


Possible, but Slimserver doesn't use many external versions; it generally bundles its own modules.


The only reason I even thought of this is because of a similar experience
I had with mod_perl and mason trying to install request tracker a long
time ago.  If you were using 5.005 + some other older versions of a few
modules, the web page would take *forever* to load.  If you used 5.6 (then
pretty new), it was fast.  Apparently everyone who developed it just used
5.6 and had never tried with 5.005, because it was almost unusable :)


I've got just shy of 8K tracks on a mid-range home-brew server which is
fairly busy with other stuff.


It's literally over a minute of 100% cpu usage (well, 95ish that it
actually gets to use, but 100% of the cpu used) on this 2600+ when shuffle
by album is selected with all the tracks, so I think there has to be
something common in the setups or usage of some people that's absent from
others that causes this.

The startup scan (if I wipe the sql file before starting) is twice as long
with 6.0 as well (1000s vs 2000s), it's almost all CPU time there as well.

On the plus side, 6.0 uses about half the ram (65M currently after being
up for a couple days).

Moses

7710 songs.

add all songs to a new playlist (35 seconds or so), then hit shuffle by album (maybe 70 seconds before the webui refreshed with the new data). I have high CPU usage, but that's what it's there for... it's hardly interfering with anything else. The slimp3 display goes dark for about 30 seconds, then it's fine. I wasn't trying to play music, people are trying to sleep here :)

You'll note that I have a very different disk I/O picture than Free Lunch does... and I'll also postulate that if you're seeing serious Slimserver degradation and can't even run vmstat, you could probably also use a good hard look at your system's overall performance characteristics.

[EMAIL PROTECTED] jack]$ vmstat 1 1000
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 12528 19032 59764 137536 0 0 4 2 6 7 3 1 96 0
0 0 12528 19028 59764 137536 0 0 0 0 133 118 1 0 99 0
0 0 12528 19192 59764 137536 0 0 0 0 129 108 0 0 100 0
0 0 12528 19188 59768 137536 0 0 0 140 123 114 0 0 100 0
0 0 12528 19188 59768 137536 0 0 0 0 118 97 3 0 97 0
0 0 12528 19188 59768 137536 0 0 0 0 113 97 0 0 100 0
0 0 12528 19188 59768 137536 0 0 0 0 121 94 0 0 100 0
1 0 12528 19184 59772 137536 0 0 4 0 136 115 0 0 100 0
0 0 12528 19180 59776 137536 0 0 0 180 156 121 0 0 100 0
0 0 12528 19180 59776 137536 0 0 0 0 141 114 4 0 96 0
0 0 12528 19180 59776 137536 0 0 0 0 129 109 0 0 100 0
0 0 12528 19180 59776 137536 0 0 0 0 142 135 0 0 100 0
2 0 12528 14608 59780 140804 0 0 2832 0 581 226 29 5 66 0
1 0 12528 12188 59788 140368 0 0 0 96 112 110 99 1 0 0
2 0 12528 10268 59788 140368 0 0 0 0 126 110 100 0 0 0
1 0 12528 10168 59788 140368 0 0 0 0 112 92 100 0 0 0
4 0 12528 9860 59812 140652 0 0 64 56 161 140 84 1 15 0
1 0 12528 9496 59812 141016 0 0 0 0 109 95 100 0 0 0
1 0 12528 9108 59844 141372 0 0 24 144 121 118 100 0 0 0
2 0 12528 8872 59844 141608 0 0 28 32 139 106 100 0 0 0
1 0 12528 8652 59848 141760 0 0 156 0 267 96 100 0 0 0
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
3 0 12528 8180 59848 142016 0 0 256 0 405 173 87 4 9 0
0 0 12528 8240 59856 142016 0 0 8 0 234 154 20 0 80 0
0 0 12528 8236 59860 142016 0 0 0 216 147 118 0 0 100 0
2 0 12528 8164 59860 142016 0 0 0 0 131 105 3 0 97 0
0 0 12528 8164 59860 142016 0 0 0 0 118 102 0 0 100 0
0 0 12528 8164 59860 142016 0 0 0 0 120 104 0 0 100 0
0 0 12528 8164 59860 142016 0 0 0 0 129 112 0 0 100 0
1 0 12528 8160 59868 142016 0 0 0 44 140 137 0 0 100 0
0 0 12528 8228 59868 142016 0 0 0 0 160 129 6 0 94 0
0 0 12528 8228 59868 142016 0 0 0 0 130 112 0 0 100 0
2 0 12528 8228 59868 142020 0 0 4 0 112 95 87 1 12 0
2 0 12528 8228 59868 142020 0 0 0 0 108 89 99 1 0 0
1 0 12528 8220 59876 142020 0 0 0 112 114 103 99 1 0 0
2 0 12528 8220 59876 142020 0 0 0 0 108 92 100 0 0 0
1 0 12528 8220 59876 142020 0 0 0 0 107 89 99 1 0 0
1 0 12528 8220 59876 142020 0 0 0 0 108 92 97 3 0 0
1 0 12528 8216 59880 142020 0 0 4 0 117 114 100 0 0 0
1 0 12528 8212 59884 142020 0 0 0 56 111 99 99 1 0 0
1 0 12528 8212 59884 142020 0 0 0 0 110 86 100 0 0 0
1 0 12528 8212 59884 142020 0 0 0 0 109 92 99 1 0 0
3 0 12528 8212 59884 142020 0 0 0 0 108 86 99 1 0 0
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
2 0 12528 8212 59884 142020 0 0 0 32 109 103 100 0 0 0
1 0 12528 8212 59884 142020 0 0 0 0 108 87 100 0 0 0
2 0 12528 8212 59884 142020 0 0 0 0 109 92 100 0 0 0
1 0 12528 8212 59884 142020 0 0 0 0 107 84 99 1 0 0
1 0 12528 8212 59884 142020 0 0 0 0 108 94 100 0 0 0
1 0 12528 7956 59892 142036 0 0 8 1024 154 100 99 0 1 0
1 0 12528 7956 59892 142036 0 0 0 0 108 90 99 1 0 0
1 0 12528 7956 59892 142036 0 0 0 0 107 87 99 1 0 0
1 0 12528 7956 59892 142036 0 0 0 0 117 93 99 1 0 0
2 0 12528 7956 59892 142036 0 0 0 0 107 88 99 1 0 0
1 0 12528 7952 59896 142036 0 0 0 496 139 108 99 1 0 0
1 0 12528 7948 59900 142036 0 0 4 0 112 91 100 0 0 0
2 0 12528 7948 59900 142036 0 0 0 0 107 90 100 0 0 0
1 0 12528 7948 59900 142036 0 0 0 0 108 86 100 0 0 0
1 0 12528 7948 59900 142036 0 0 0 0 116 112 100 0 0 0
2 0 12528 7944 59904 142036 0 0 0 36 129 93 100 0 0 0
2 0 12528 7944 59904 142036 0 0 0 0 110 92 99 1 0 0
2 0 12528 7944 59904 142036 0 0 0 0 108 83 100 0 0 0
1 0 12528 7944 59904 142036 0 0 0 0 113 94 99 1 0 0
2 0 12528 7944 59904 142036 0 0 0 0 108 87 100 0 0 0
1 0 12528 7940 59908 142036 0 0 0 108 111 105 100 0 0 0
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
2 0 12528 7940 59908 142036 0 0 0 0 107 87 100 0 0 0
2 0 12528 7940 59908 142036 0 0 0 0 108 90 100 0 0 0
1 0 12528 7940 59908 142036 0 0 0 0 109 89 99 1 0 0
1 0 12528 7940 59908 142036 0 0 0 0 121 123 99 1 0 0
1 0 12528 7940 59908 142036 0 0 0 112 119 95 98 2 0 0
1 0 12528 7936 59912 142036 0 0 4 0 109 97 96 4 0 0
2 0 12528 7936 59912 142036 0 0 0 0 109 83 99 1 0 0
1 0 12528 7936 59912 142036 0 0 0 0 125 113 99 1 0 0
2 0 12528 7936 59912 142036 0 0 0 0 108 90 100 0 0 0
2 0 12528 7936 59912 142036 0 0 0 36 111 105 100 0 0 0
1 0 12528 7548 59912 142036 0 0 0 0 118 113 100 0 0 0
3 0 12528 7548 59912 142036 0 0 0 0 109 97 100 0 0 0
5 0 12528 6912 58480 139604 0 0 0 0 109 155 98 2 0 0
3 0 12528 6828 58064 134624 0 0 0 0 108 479 93 7 0 0
1 0 12528 19252 57576 132968 0 0 0 860 190 206 93 7 0 0
2 0 12528 19252 57576 132968 0 0 0 0 108 92 99 1 0 0
1 0 12528 19252 57576 132968 0 0 0 0 108 87 99 1 0 0
1 0 12528 19252 57576 132968 0 0 0 0 117 100 99 1 0 0
3 0 12528 19252 57576 132968 0 0 0 0 112 88 99 1 0 0
1 0 12528 19240 57588 132968 0 0 0 740 189 119 100 0 0 0
1 0 12528 19740 57592 132968 0 0 4 0 110 100 100 0 0 0
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
3 0 12528 19740 57592 132968 0 0 0 0 108 87 100 0 0 0
1 0 12528 19740 57592 132968 0 0 0 0 109 83 100 0 0 0
1 0 12528 19740 57592 132968 0 0 0 0 119 101 100 0 0 0
1 0 12528 19736 57596 132968 0 0 0 80 112 97 100 0 0 0
1 0 12528 19736 57596 132968 0 0 0 0 117 112 99 1 0 0
1 0 12528 19736 57596 132968 0 0 0 0 108 84 100 0 0 0
1 0 12528 19736 57596 132968 0 0 0 0 117 97 100 0 0 0
2 0 12528 19736 57596 132968 0 0 0 0 108 90 100 0 0 0
2 0 12528 19732 57600 132968 0 0 0 100 110 102 100 0 0 0
1 0 12528 19732 57600 132968 0 0 0 0 108 83 100 0 0 0
2 0 12528 19732 57600 132968 0 0 0 0 107 98 100 0 0 0
1 0 12528 19732 57600 132968 0 0 0 0 111 86 99 1 0 0
1 0 12528 19732 57600 132968 0 0 0 0 108 97 100 0 0 0
2 0 12528 19732 57600 132968 0 0 0 168 144 113 99 1 0 0
1 0 12528 19732 57600 132968 0 0 0 0 110 91 100 0 0 0
1 0 12528 19728 57604 132968 0 0 4 0 108 91 100 0 0 0
1 0 12528 19728 57604 132968 0 0 0 0 118 98 100 0 0 0
2 0 12528 19696 57608 132996 0 0 28 296 180 133 91 2 7 0
2 0 12528 19688 57616 132996 0 0 4 136 131 112 99 1 0 0
0 0 12528 19580 57616 133008 0 0 12 0 238 118 72 2 26 0
2 0 12528 19584 57616 133008 0 0 0 0 180 124 35 1 64 0
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
2 0 12528 19584 57616 133008 0 0 0 0 161 89 97 3 0 0
0 0 12528 19504 57616 133012 0 0 0 0 164 157 23 0 77 0
0 0 12528 19496 57624 133012 0 0 0 712 239 128 0 1 99 0
0 0 12528 19496 57624 133012 0 0 0 0 128 113 0 0 100 0



-- Jack at Monkeynoodle dot Org: It's a Scientific Venture... Riding the Emergency Third Rail Power Trip since 1996! _______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to