ik1xpv / ExtIO_sddc

ExtIO_sddc.dll - BreadBoard RF103 / HDSDR
Other
72 stars 26 forks source link

Remove outTimetmp and reuse inFreqTmp #166

Closed howard0su closed 3 years ago

howard0su commented 3 years ago

Reduce the pressure on cache by reuse the buffer.

ik1xpv commented 3 years ago

It is a little bit faster than v1.1.0.
I made test on I7-3770 I tested 64M adc clock , USB 12k audio LO to frequency not exact bin multiplier to activate shift Both are compiled in release. IF sample rate 32M 16M 8M 4M 2M this branch#68fc88a CPU%15 10 8 8 7 ver 1.1.0 CPU% 16 12 10 9 8 - -

howard0su commented 3 years ago

How about 128m sample rate with 64m bandwidth?

Oscar Steila notifications@github.com于2021年1月22日 周五下午11:12写道:

It is a little bit faster then v1.1.0. I made test on I7-3770 I tested 64M adc clock , USB 12k audio LO to frequency not exact bin multiplier to activate shift Both are compiled in release. IF sample rate 32M 16M 8M 4M 2M this branch#68fc88a CPU%15 10 8 8 7 ver 1.1.0 CPU% 16 12 10 9 8 - -

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ik1xpv/ExtIO_sddc/pull/166#issuecomment-765471991, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF3GRAXAG3JZEBUOMX4EVTS3GIUBANCNFSM4WOFASRA .

-- -Howard

ik1xpv commented 3 years ago

I made this test with HDSDR Beta5 to be able to manage the 64M SR I7-3770 with128M adc clock , USB 12k audio LO to frequency not exact bin multiplier to activate shift IF sample rate 64M 32M 16M 8M 4M 2M this branch#68fc88a CPU % 26 16 13 12 11 10 ver 1.1.0 CPU% 27 17 13 12 11 10
I7-3770 with64 M adc clock , USB 12k audio LO to frequency not exact bin multiplier to activate shift IF sample rate 32M 16M 8M 4M 2M this branch#68fc88a CPU % 13 10 9 8 8 ver 1.1.0 CPU% 13 10 9 9 8

The two versions are very close as CPU load. This branch is a little (0.5% ?? ) better on my I7-3770

howard0su commented 3 years ago

thank you so much. This sounds good. I will merge this.

On Sat, Jan 23, 2021 at 6:58 PM Oscar Steila notifications@github.com wrote:

I made this test with HDSDR Beta5 to be able to manage the 64M SR I7-3770 with128M adc clock , USB 12k audio LO to frequency not exact bin multiplier to activate shift IF sample rate 64M 32M 16M 8M 4M 2M this branch#68fc88a CPU % 26 16 13 12 11 10 ver 1.1.0 CPU% 27 17 13 12 11 10 I7-3770 with64 M adc clock , USB 12k audio LO to frequency not exact bin multiplier to activate shift IF sample rate 32M 16M 8M 4M 2M this branch#68fc88a CPU % 13 10 9 8 8 ver 1.1.0 CPU% 13 10 9 9 8

The two versions are very close as CPU load. This branch is a little (0.5% ?? ) better on my I7-3770

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ik1xpv/ExtIO_sddc/pull/166#issuecomment-765905238, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF3GRAZ5UKG2WHVA2UM2DLS3KTTZANCNFSM4WOFASRA .

-- -Howard