[Icecast] SMP support

Clement Cavadore clement at cavadore.net
Thu Apr 19 23:33:54 UTC 2007


Hi,

I have recently installed an Icecast 2.3.1 on a couple of dual Xeon CPU
x64 server. The server is configured with chroot & changeowner.
In order to have an idea of a server's capabilities, used the curl-based
script given in http://www.icecast.org/loadtest1.php. I have around 3.5k
connections from one server to the other one, on an unique 170Kbps MP3
mountpoint, totalizing 720 Mbit/s of traffic.

The servers works great, but when I have a look on the CPU usage:
top - 01:29:13 up  9:35,  2 users,  load average: 0.86, 0.77, 0.73
Tasks:  61 total,   1 running,  60 sleeping,   0 stopped,   0 zombie
Cpu0 : 0.0%us,  0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi,  0.0%si, 0.0%st
Cpu1 : 4.0%us, 20.3%sy, 0.0%ni, 16.7%id, 0.0%wa, 2.0%hi, 57.0%si, 0.0%st

... as you can see, there is only one CPU which is used, although I can
see 8 thread in /proc/$pid/task/

Is there any reason for this (maybe an unique IP for the 3.5k listeners,
or an unique mountmoint ?), or did I miss something on the config ?
The server's kernel is the latest 2.6, and SMP-enabled.

Thanks,
-- 
Clément Cavadore




More information about the Icecast mailing list