Subject: character device speed
To: None <rbsd@Kyra.FutureGroove.de>
From: Peter Berg <root@Kyra.FutureGroove.de>
List: port-arm32
Date: 02/22/1997 20:00:29
Hi,
what's the highest speed a character device can run at ?
I've tested the speed of my driver with a self written test program an I get
as highest speed about 380KB/sec.
My driver copies it's data in blocks of 256KB via the uiomove function to
the calling process. Is this the limit of speed I can reach ?
Here's the part of the read function of the driver:
case(OUTPUT_AS_SND):
{
// has to be removed from the real driver !
sc->snd_buffersize = SNDBUFFERSIZE;
spdif_to_16bit_signed(sc);
uiomove(sc->snd_buffer, sc->snd_buffersize, uio);
break;
}
spdif_to_16bit_signed is ATM an empty function.
My hardware is ARM710/40MHz.
Any ideas how I can speed up things a little bit, because 380KB/sec is a
little bit to near by the speed of a spdif-stream.
Ciao, Peter
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
| |
| >>> FutureGroove <<< |
| |
| Peter Berg Music production & |
| softwaredevelopment |
| w3: http://www.ww.tu-freiberg.de/~pberg |
| email: Peter.Berg@ww.tu-freiberg.de |
| part time system administrator |
| at *.ww.tu-freiberg.de |
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/