Performance with M1 Max MacBook Pro - great!

284 views
Skip to first unread message

Jeff Thompson

unread,
Nov 28, 2021, 10:37:31 AM11/28/21
to sdrtrunk
...is simply outstanding, especially when considering SDRT is interpreted from x86...

I attached 3 Airspy at 10 MHz each with no issue, as long as I attached them directly to the USB4 ports. I did run into some issues in connecting 2 more via a hub, this may be correctable with better, more up-to-date hubs (e.g., USB3.1 to USB4 hubs). 

CPU never exceeded 40%. Temperatures never rose significantly. Fans never spun up. 

I suspect I could probably add 2 more 10 MHz Airspy. 

Now, there is a memory leak running in this configuration. On my M1 Mac mini, I programmatically reboot every 6 hours; this laptop has more memory so it would last longer but SDRT is not really how this laptop is going to be used. 

Of course, getting a native version would be great; we tried about a year ago and ran into some issues with an package that just wouldn't compile under MacOS but with another year of MacOS and developer tools, perhaps it's about time for another try. 

Jeff Thompson

unread,
Jan 10, 2022, 1:45:07 PM1/10/22
to sdrtrunk
Unfortunately, same results as previously encountered...



./gradlew clean run


> Configure project :

Project : => no module-info.java found

Skipping OS Image - Linux ARM 64-bit JDK was not found at /home/denny/java_jdks/linux-arm64/jdk-17.0.1-full

Skipping OS Image - Linux x86 64-bit JDK was not found at /home/denny/java_jdks/linux-x64/jdk-17.0.1-full

Skipping OS Image - OSX x86 64-bit JDK was not found at /home/denny/java_jdks/osx-x64/jdk-17.0.1-full.jdk

Skipping OS Image - Windows x86 64-bit JDK was not found at /home/denny/java_jdks/windows-x64/jdk-17.0.1-full


> Task :compileJava

warning: using incubating module(s): jdk.incubator.vector

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

1 warning


> Task :run

WARNING: Using incubator modules: jdk.incubator.vector

12:39:27.337 INFO  i.g.d.icon.IconModel - loading icons file [/Users/x/SDRTrunk/settings/icons.xml]  [19MB/520MB 3%]

12:39:27.340 INFO  i.g.d.icon.IconModel - Icons file not found at [/Users/x/SDRTrunk/settings/icons.xml]  [19MB/520MB 3%]

12:39:27.540 INFO  i.g.d.log.ApplicationLog - Application Log File: /Users/x/SDRTrunk/logs/sdrtrunk_app.log  [27MB/520MB 5%]

12:39:27.558 INFO  i.g.d.log.ApplicationLog - Failed to find build information.  [12MB/520MB 2%]

12:39:27.558 INFO  i.g.d.log.ApplicationLog -   [12MB/520MB 2%]

12:39:27.558 INFO  i.g.d.log.ApplicationLog - *******************************************************************  [12MB/520MB 2%]

12:39:27.558 INFO  i.g.d.log.ApplicationLog - **** sdrtrunk: a trunked radio and digital decoding application ***  [12MB/520MB 2%]

12:39:27.558 INFO  i.g.d.log.ApplicationLog - ****  website: https://github.com/dsheirer/sdrtrunk             ***  [12MB/520MB 2%]

12:39:27.558 INFO  i.g.d.log.ApplicationLog - *******************************************************************  [12MB/520MB 2%]

12:39:27.558 INFO  i.g.d.log.ApplicationLog - Memory Logging Format: [Used/Allocated PercentUsed%]  [12MB/520MB 2%]

12:39:27.558 INFO  i.g.d.log.ApplicationLog - Host OS Name:          Mac OS X  [12MB/520MB 2%]

12:39:27.558 INFO  i.g.d.log.ApplicationLog - Host OS Arch:          aarch64  [12MB/520MB 2%]

12:39:27.559 INFO  i.g.d.log.ApplicationLog - Host OS Version:       12.1  [12MB/520MB 2%]

12:39:27.559 INFO  i.g.d.log.ApplicationLog - Host CPU Cores:        10  [12MB/520MB 2%]

12:39:27.559 INFO  i.g.d.log.ApplicationLog - Host Max Java Memory:  8 GB  [12MB/520MB 2%]

12:39:27.559 INFO  i.g.d.log.ApplicationLog - Storage Directories:  [12MB/520MB 2%]

12:39:27.559 INFO  i.g.d.log.ApplicationLog -  Application Root: /Users/x/SDRTrunk  [12MB/520MB 2%]

12:39:27.559 INFO  i.g.d.log.ApplicationLog -  Application Log:  /Users/x/SDRTrunk/logs  [12MB/520MB 2%]

12:39:27.559 INFO  i.g.d.log.ApplicationLog -  Event Log:        /Users/x/SDRTrunk/event_logs  [12MB/520MB 2%]

12:39:27.559 INFO  i.g.d.log.ApplicationLog -  Playlist:         /Users/x/SDRTrunk/playlist  [12MB/520MB 2%]

12:39:27.559 INFO  i.g.d.log.ApplicationLog -  Recordings:       /Users/x/SDRTrunk/recordings  [12MB/520MB 2%]

12:39:27.601 INFO  i.g.d.util.ThreadPool - Application thread pool created with [10] threads  [16MB/520MB 3%]

12:39:27.601 INFO  i.g.dsheirer.gui.SDRTrunk - Home path: /Users/x/SDRTrunk  [16MB/520MB 3%]

12:39:27.602 INFO  i.g.d.p.SystemProperties - SystemProperties - loaded [/Users/x/SDRTrunk/SDRTrunk.properties]  [16MB/520MB 3%]

12:39:27.602 INFO  i.g.d.p.SystemProperties - SystemProperties - application properties loaded [/Users/smithrh/SDRTrunk/SDRTrunk.properties]  [16MB/520MB 3%]

12:39:27.607 INFO  i.g.d.s.SettingsManager - SettingsManager - loading settings file [/Users/x/SDRTrunk/settings/settings.xml]  [16MB/520MB 3%]

12:39:27.711 INFO  i.g.d.s.r.RecordingSourceManager - RecordingSourceManager - discovered [0] recording configurations  [34MB/520MB 6%]

Exception in thread "main" java.lang.ExceptionInInitializerError

        at io.github.dsheirer.source.tuner.TunerManager.initTuners(TunerManager.java:110)

        at io.github.dsheirer.source.tuner.TunerManager.<init>(TunerManager.java:79)

        at io.github.dsheirer.source.SourceManager.<init>(SourceManager.java:46)

        at io.github.dsheirer.gui.SDRTrunk.<init>(SDRTrunk.java:167)

        at io.github.dsheirer.gui.SDRTrunk.main(SDRTrunk.java:624)

Caused by: org.usb4java.LoaderException: Native library not found in classpath: /org/usb4java/darwin-aarch64/libusb4java.dylib

        at org.usb4java.Loader.extractLibrary(Loader.java:246)

        at org.usb4java.Loader.load(Loader.java:323)

        at org.usb4java.LibUsb.<clinit>(LibUsb.java:690)

        ... 5 more

<==========---> 83% EXECUTING [39s]

> :run



Reply all
Reply to author
Forward
0 new messages