From: Till H. <ti...@ha...> - 2006-08-17 19:31:27
|
Hi, On Thursday 17 August 2006 01:10, Luis Correia wrote: > This performance comes with a price... a 6% price to be accurate. > While my I2C approach takes about 0.0% of CPU time (analysed with top), > the USB variant eats something from 5 to 6.4% of CPU time. > > This doesn't seem much for a server, but it is a lot to a 266Mhz router. I wonder why this is. The usb on modern systems is nearly completely done in hardware and shouldn't have a significant impact on cpu load. How are you doing the i2c stuff? Bitbanging on the printer port is usually way more cpu stressing than usb. The cpu bandwidth consumed will probably relate to the number of LCD screen accesses you do. You might e.g. try to reduce some of your update settings in the lcd4linux.conf to slow down redraws etc. Ciao, Till -- Dr.Ing. Till Harbaum <ti...@ha...> http://www.harbaum.org/till |