[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] New implementation for fusb_linux withoutallocs/f
From: |
Stefan Bruens |
Subject: |
Re: [Discuss-gnuradio] New implementation for fusb_linux withoutallocs/frees |
Date: |
Tue, 24 Feb 2009 21:34:45 +0100 |
User-agent: |
KMail/1.11.0 (Linux/2.6.27.7-9-mtrr_san; KDE/4.2.0; x86_64; ; ) |
On Tuesday 24 February 2009 16:03:05 Marcus D. Leech wrote:
> Have you tested receive performance, and is it improved?
Hm, if you are going for high bandwidth, you should set the blocksize quite
high (eg 4096). I am targetting low latency, so I go for the smallest possible
blocksize (512).
If you are receiving with 32MB/s, the new code saves about 75e6 instructions
per second at a blocksize of 512, so for 4096 this should be about 9e6. For a
current generation cpu, this should be about 1% of its throughput, on the
other hand, the mallocs are most probably very unfriendly to branch prediction
and cache access, so savings may be higher. If I find some time, I will run
oprofile to get some numbers ...
Stefan
--
Stefan Brüns / Bergstraße 21 / 52062 Aachen
phone: +49 241 53809034 mobile: +49 151 50412019