I'm trying to get compression working on the custom disks that I'm making. The problem that I'm having is that the Receiver complains that "Pipeline full" and then starts dropping packets like crazy and disconnects.
Any ideas why?
I suspect it has to do with the buffer in the receiver being too small or not being emptied to disk quick enough.
I'm using a program that was written by a friend of mine, based on the lzrw compression algorithm. I've found it to be faster than lzo. It works exactly the same way as gzip, just much faster, as far as udpcast is concerned.
Does anyone on this list actively code on udpcast?
Andrew
On Wed, 12 Mar 2003, Felix Rauch wrote:
On Wed, 12 Mar 2003, Andrew Cooks wrote:
My next step is to recompile everything on my boot disk, using ulibc. Then there should be enough space to include a compression program on the boot disks, without using higher densities. I expect this should make quite a difference as well, seeing as the cpu is now free to do this kind of thing. I'm just not sure whether it's really possible to compress data fast enough. Gzip is not fast enough on the hardware I have. It would have to be faster than 95Mb/s to be of benefit in this situation.
I doubt that compression will give you any improvement. With compression, the CPU and the memory subsystem become the bottlenecks quite quickly. In my own experience, with compression there are simply to many memory copy operations [1].
- Felix
[1] http://www.cs.inf.ethz.ch/~rauch/index.html#CCPE2002
Felix Rauch | Email: rauch@inf.ethz.ch Institute for Computer Systems | Homepage: http://www.cs.inf.ethz.ch/~rauch/ ETH Zentrum / RZ H18 | Phone: +41 1 632 7489 CH - 8092 Zuerich / Switzerland | Fax: +41 1 632 1307
Udpcast mailing list Udpcast@udpcast.linux.lu http://udpcast.linux.lu/mailman/listinfo/udpcast
----------------------- Andrew Cooks TechTeam TechTeam -- "We make it work." Computer Science dept. University of Pretoria -----------------------
"I don't make jokes in base 13. Anyone who does should get help." -Douglas Adams