PhantomSDR Support Forum

General Category => PhantomSDR Software => Topic started by: HB9RYZ on Sep 13, 2024, 11:58 PM

Title: fft_threads=1
Post by: HB9RYZ on Sep 13, 2024, 11:58 PM
Hello All
Thanks BAS for your config.toml, which I implemented this night at Rigi Scheidegg.

Attached a picture with the CPU Load with fft_threads=1 and only one user connected.

Should I use more fft_threads with 8 CPUs (Intel i7-6700 @ 3.4 GHz x 8)

73' Wolfgang
Title: Re: fft_threads=1
Post by: magicint1337 on Sep 14, 2024, 08:23 AM
If you use opencl the fft threads wont change anything. Only if you use the CPU to do the FFT.
Title: Re: fft_threads=1
Post by: HB9RYZ on Sep 14, 2024, 09:56 AM
Quote from: magicint1337 on Sep 14, 2024, 08:23 AMIf you use opencl the fft threads wont change anything. Only if you use the CPU to do the FFT.
OK, thank you for this information :-)
Title: Re: fft_threads=1
Post by: Bas ON5HB on Sep 14, 2024, 11:41 AM
Quote from: HB9RYZ on Sep 13, 2024, 11:58 PMHello All
Thanks BAS for your config.toml, which I implemented this night at Rigi Scheidegg.

Attached a picture with the CPU Load with fft_threads=1 and only one user connected.

Should I use more fft_threads with 8 CPUs (Intel i7-6700 @ 3.4 GHz x 8)

73' Wolfgang

Your Intel doesn't have 8 cores, just 4, but it should be able to handle 2 threads per core....however, this doesn't always work. It has been proven many times that realtime applications are hindered by this multi-thread setting.
I would turn MT off in the BIOS and let it run as 4-real CPU's.

https://ark.intel.com/content/www/us/en/ark/products/88196/intel-core-i7-6700-processor-8m-cache-up-to-4-00-ghz.html

See info of your CPU.

Also, with OpenCL in use more then 1 fft-thread is useless, you have understand that with OpenCL only webserver-threads are important, this is a different setting and has a different purpose.
Title: Re: fft_threads=1
Post by: HB9RYZ on Sep 15, 2024, 11:15 PM
Good NEWS
Since I use the config.toml from BAS with fft_threads=1 etc. my PhantomSDR-Plus at Rigi was not crashed anymore - The PhantomSDR is up and running since 3 days :-)
I hope it stays that way.
Title: Re: fft_threads=1
Post by: Bas ON5HB on Sep 24, 2024, 09:00 PM
Set it to 2.....it's better.

I do not know why, but seems to be more stable.