Hi Folks!

I am actually saerching a performance dececrease after I updated our
2.6.10-rc2 application. 

The kernel runs on a i.MX arch (ARM9).

Until now we use this kernel with the isp116x ohci emulation driver.
After loading the ohci-hcd module prism2-usb and p80211 modules from
linux-wlan-ng are loaded and the time the first tcp-ip request fired out
over wlan counts.

This is the "old" timing:

   3.547 hub 1-0:1.0: USB hub found  
   3.550 hub 1-0:1.0: 2 ports detected  
   3.851 usb 1-1: new full speed USB device using ohci-isp116x and address 2  
   4.613 prism2usb_init: prism2_usb.o: 0.2.1-pre23 Loaded  
   4.616 prism2usb_init: dev_info is: prism2_usb  
   4.621 usbcore: registered new driver prism2_usb  
   4.954 ident: nic h/w: id=0x8026 1.0.0  
   4.967 ident: pri f/w: id=0x15 1.1.3  
   4.980 ident: sta f/w: id=0x1f 1.7.1  
   4.990 MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1  
   4.999 CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1  
   5.010 PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4  
   5.020 STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12  
   5.028 PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1  
   5.040 STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1  
   5.050 STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1  
   5.058 Prism2 card SN: 000000000000  
   5.196 WLAN brought up successfully  

The new timing is creted using the isp116x driver in vanilla 2.6.14:

   3.310  hub 1-0:1.0: USB hub found  
   3.313 hub 1-0:1.0: 2 ports detected  
   3.801 usb 1-1: new full speed USB device using isp116x-hcd and address 2  
   4.794 prism2usb_init: prism2_usb.o: 0.0.0 Loaded  
   4.798 prism2usb_init: dev_info is: prism2_usb  
   4.803 usbcore: registered new driver prism2_usb  
   5.357 ident: nic h/w: id=0x8026 1.0.0 
   5.369  ident: pri f/w: id=0x15 1.1.3  
   5.379 ident: sta f/w: id=0x1f 1.7.1  
   5.390 MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1  
   5.401 CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1  
   5.412 PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4  
   5.422 STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12  
   5.433 PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1  
   5.444 STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1  
   5.455 STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1  
   5.464 Prism2 card SN: 000000000000  
   5.572 WLAN brought up successfully  

As you see getting out the SN lasts half a second longer now.

After "usb 1-1: new full speed USB device using isp116x-hcd and address 2" 
newer drivers need 0.9s instead of 0.6s to go further. This might sound
like peanuts but in this application every 100ms are needed to be saved.

What I ask is, is it possible the vanilla isp116x driver is generally
slower regarding initialisation stuff? May be it is not worth but even
more complete which does not affect our old WLAN only application?

Is it possible usbcore handling stuff different so initialisation causes
higher system load now?

Where are things in actual usb code I can tweak such initialisation
timings, sincs overall throughoutput performance once running
doesn'count.

Regards, Konsti


-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to