tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bus_dmamap_sync() for USB



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jun 24, 2008, at 16:12, Manuel Bouyer wrote:
On Tue, Jun 24, 2008 at 03:50:25PM -0400, Michael Lorenz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jun 24, 2008, at 14:34, Manuel Bouyer wrote:

The fwohci0 is the same as your, but the USB part is newer than your,
if I trust the revision numbers. It'd be nice to see what changed
between the 2 revisions, but I don't know where to find this info.

The uhci/ehci works perfectly fine on sparc64. I noticed a few things
though:
- - throughput is much higher. On the O2 bonnie++ maxed out at about
2.5MB/s, in my U60 it goes past 5MB/s
- - the O2 spends a lot of time in interrupt code ( >20% at times )
during bonnie++ runs, on the U60 it's less than 2%
So, maybe there's something fishy in the O2-specific ( or maybe MIPS-
specific ) interrupt code.

I guess some of it is because the descriptors are mapped uncached on the
mips. This includes some parts that are never accessed by hardware.
This could be improved by splitting memory allocation in 2 parts
(one for descriptors used by hardware, and one for the host-only part
of the descriptors).

They would be mapped uncached on sparc64 as well, wouldn't they? The U60 should have much more bandwidth between RAM and CPU but somehow I doubt the impact would be that big.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSGFaLMpnzkX8Yg2nAQLMMwf/SA0Ah3gqahcaULf1dm+/9aa8UyKgahoq
RiX1Yb+BkyANptcvLp+W7RpD3a63VTlThcfobHpd041seGGI62VZjvXOuCzZ96DG
XTYoFsd/ySHKShVlbCRKSyYnRHYlNeFv1JUAKWTckBoH2aiuW8yBEkIQElWpJ+02
bBmEL0zUegLTRJ2ImxvrNazfcwzmgn8n6M2gPWr8oZXyLQn7XxokpsW11P7RQG+T
/KiYLU0vAVPudMW2KmkH+lwzIFmPj6X+MqRVZava27+ybtjbUFUo1uFj2q0GSf2/
E5qmtIVMvC5CpT4ix1DZCe6w1eSKDt0zPW1Nhwx2F02Iv80tmu6ETg==
=yg+i
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index