Hello Guys, I am new around here. I have a little question about CPU utilization. I have made my custom hardware work with uClinux. The CPU is a MCF5249L running at 120Mhz, the network card is on the SPI port (mcfqspi driver) at 10Mhz (enc28J60). The Ethernet controller is using a hardware interrupt, not just GPIO polling. Boa web server is installed and working. The system RAM size is 16MB. The kernel and applications are running from external RAM. The question is: why is the boa web server and kworker taking so much CPU?? I mean, is this normal behavior? this is the "top" output for the boa transfer: 51 1 root R 311 2.4 33.3 /bin/boa 24 2 root RW 0 0.0 26.6 [kworker/u:1] 62 56 root R 230 1.8 25.3 top 59 2 root DW 0 0.0 9.3 [kworker/0:4] 33% utilization by boa and 26% by kworker??? :-O This is a fairly fast CPU I was expecting this to run much smoother. Also there is another issue. Download and upload speeds, from and to this server are only about 25KB/s sustained. I have seen 70KB/s bursts at times though. It seems to me that TCP/IP is taxing the system very hard. I also tested with FTP just to rule out problems with the boa web server. The result is the same. See below the "top" output: 24 2 root RW 0 0.0 67.6 [kworker/u:1] 44 2 root DW 0 0.0 8.6 [kworker/0:2] 58 56 root R 230 1.8 6.4 top 57 2 root SW 0 0.0 5.1 [kworker/0:3] 67% CPU utilization by kworker. That is pretty steep. I do not think this is an SPI bandwidth issue. The SPI running at 10Mhz would give you a theoretical 10Mbps. Even if I get only 1/10th of that number I would consider it OK. But my system is way off. Any ideas, clues or suggestions would be greatly appreciated.
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev