INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: JRiver 28.0.32 - Mac Mini M1, high swap & kernel_task CPU usage after a while  (Read 4122 times)

YogiPL

  • Recent member
  • *
  • Posts: 41

Hi!

I just recently bought the M1 Mac Mini (16GB/512SSD version) and i've been looking for a good music library application for macos.
I found JRiver interesting and I've been trying it out today but I'm having some issues with its resource usage.

My library is not that large (around 8000 tracks, all FLAC files, from a SMB network share) but after importing it and using JRiver for about 20-30 minutes I've noticed my system becoming less and less responsive.

After investigating I've found that my swap file usage have increased from 0 into ~2GB range and kernel_task CPU usage starts having spikes. As time goes on the system is less and less responsive eventually forcing me to do a reboot to continue using my computer (not running anything else besides jriver and a web browser with 2-3 tabs open - without jriver running this is not a problem that occurs)

I've looked around on forums here and checked that my covers in library are 100% cached, audio files have not been analyzed (i've tried running that process manually and not doing anything else but after 15 minutes of scanning and updating tags my swap usage starts increasing and I basically need to reboot to continue working normally).

I'm using latest macos version 11.4 and jriver 28.0.32 in "audio only mode" (i even disabled extra features like network server, split view etc leaving just basic audio-related functions).

Any idea what might be an issue?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72445
  • Where did I put my teeth?

MC does some things in the beginning that will slow it down, but it will speed up again when finished.  Thumbnailing, for example.

There is a Reporter function under Services in the tree on the left.
Logged

YogiPL

  • Recent member
  • *
  • Posts: 41

It currently shows following info. I have a suspicion that analyzing audio files caused the spike in resource usage (I've stopped it so it sits at 17%). I'll try just playing audio for a while and monitoring memory/CPU usage. If it's OK for a few hours I'll try rebooting and running the analyze audio function again without anything else running to see if that's what is causing issues.

I understand that it needs resources to work but if it slows the system down to a point when even mouse movements become erratic then there might be some issue there.

Thanks for replying, will report back  :)

Code: [Select]
Library
    Total files: 8,971
    Audio files: 8,971
    Image files: 0
    Video files: 0
    Other files: 0
    Artists: 2,647
    Albums: 405
    Genres: 28
    Years: 41
    Playlists: 53
    Most Played Tracks: Right Away;This Love Kills Me (Gabriel & Dresden Club Mix - Above & Beyond Respray);Still Standing;Give It Up;Once Upon A Time
    Most Played Albums: A State Of Trance Year Mix 2017;GRAPHITE;Impulse;2814;The Birth Of A New Day
Processing
    Thumbnails built: 100% (8971 of 8971)
    Audio analyzed (audio files): 17% (1528 of 8971)
    Audio analyzed (video files): 0% (0 of 0)
Background Tools Running
    No tools currently running
Power
    Playback (disable automatic sleep)
    Mode change (disable screensaver, keep monitor on) [expires in 1 minute]
Drive Info
    Time for 256 MB file on library / rip drive () to make / read: 0.114 / 0.027 seconds
Media Center
    Version: 28.0.32
    Install path: /Applications/Media Center 28.app/Contents/MacOS/
    Interface plug-ins:
    JRMark: never run
    Program run time: 18 minutes
    Memory used:
    Handles used:
    Screen coordinates: Native
Advanced System Info
    Memory & CPU
        CPU features: NEON
        Total Logical Cores: 8
    Operating System
        Mac OS X 11.4 Big Sur (Silicon)
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13875

It might also be thumbnailing.
Once it works it's way through your files the cpu usage will return to normal.
You can control the thumbnailing in options by reducing the priority to low (search box at the bottom of options, type in thumb).
For audio analysis you could turn it off in auto-import and just choose to use fewer cores when you trigger it manually.
Logged

YogiPL

  • Recent member
  • *
  • Posts: 41

Upon further testing:

Just playing music works fine, no excess ram/swap usage. So, I decided to test the Analyze Audio function.

I've rebooted the mini, launched MC, opened the Analyze Audio window and left it to work on the rest of my collection - I watched it for a while and it seemed to eat up the "Cached Files" part of memory right up until it hit 16GB (total, combined with "Used Memory") and then it went into swap (that was after about 100-200 files scanned).

I left it there to do its thing and came back after an hour or so... to a rebooted system :o
It managed to chew trough another ~800-1000 files it seems before the whole thing crashed (looking at the number still left to scan).

It looks to me like it's some kind of memory management issue, not sure if on JRiver part or MacOS but that kind of behavior cannot be normal? :-\

EDIT: also, exiting MC does not free up the swap/cached files part of memory. So doing the analysis in chunks would require rebooting in between it seems.

EDIT 2: Here's the crash report.

Code: [Select]
panic(cpu 1 caller 0xfffffe002a1f5e58): userspace watchdog timeout: no successful checkins from com.apple.WindowServer in 142 seconds
service: com.apple.logd, total successful checkins since load (1933 seconds ago): 191, last successful checkin: 0 seconds ago
service: com.apple.WindowServer, total successful checkins since load (1903 seconds ago): 176, last successful checkin: 142 seconds ago

Debugger message: panic
Memory ID: 0xff
OS release type: User
OS version: 20F71
Kernel version: Darwin Kernel Version 20.5.0: Sat May  8 05:10:31 PDT 2021; root:xnu-7195.121.3~9/RELEASE_ARM64_T8101
Fileset Kernelcache UUID: FB10CC0AB8BAC020BC47A50D64476F11
Kernel UUID: 07259C53-9EF7-32FF-821D-8F28A5985DFA
iBoot version: iBoot-6723.120.36
secure boot?: YES
Paniclog version: 13
KernelCache slide: 0x000000001f740000
KernelCache base:  0xfffffe0026744000
Kernel slide:      0x0000000020288000
Kernel text base:  0xfffffe002728c000
Kernel text exec base:  0xfffffe0027358000
mach_absolute_time: 0xae43fea33
Epoch Time:        sec       usec
  Boot    : 0x60dc8d4c 0x000d628d
  Sleep   : 0x00000000 0x00000000
  Wake    : 0x00000000 0x00000000
  Calendar: 0x60dc94e2 0x000b5a7d

CORE 0 recently retired instr at 0xfffffe00274ca6f4
CORE 1 recently retired instr at 0xfffffe00274c9240
CORE 2 recently retired instr at 0xfffffe00274ca6f4
CORE 3 recently retired instr at 0xfffffe00274ca6f4
CORE 4 recently retired instr at 0xfffffe00274ca6f8
CORE 5 recently retired instr at 0xfffffe00274ca6f8
CORE 6 recently retired instr at 0xfffffe00274ca6f8
CORE 7 recently retired instr at 0xfffffe00274ca6f8
Total cpu_usage: 79198598
Thread task pri cpu_usage
0xfffffe1668dcaca0 watchdogd 97 5563
0xfffffe1666f98000 kernel_task 91 4075870
0xfffffe166a742ca0 com.apple.AppleU 63 116550
0xfffffe166f382ca0 xpcproxy 47 125532
0xfffffe166816b960 thermalmonitord 46 166270

Panicked task 0xfffffe16681747d8: 72 pages, 4 threads: pid 93: watchdogd
Panicked thread: 0xfffffe1668dcaca0, backtrace: 0xfffffe4017ceb180, tid: 1902
  lr: 0xfffffe00273a6be4  fp: 0xfffffe4017ceb1f0
  lr: 0xfffffe00273a69c8  fp: 0xfffffe4017ceb260
  lr: 0xfffffe00274cfa70  fp: 0xfffffe4017ceb280
  lr: 0xfffffe00274c12b8  fp: 0xfffffe4017ceb330
  lr: 0xfffffe002735f7e8  fp: 0xfffffe4017ceb340
  lr: 0xfffffe00273a6658  fp: 0xfffffe4017ceb6d0
  lr: 0xfffffe00273a6658  fp: 0xfffffe4017ceb740
  lr: 0xfffffe0027b5842c  fp: 0xfffffe4017ceb760
  lr: 0xfffffe002a1f5e58  fp: 0xfffffe4017ceb780
  lr: 0xfffffe002a1f5a34  fp: 0xfffffe4017ceb7a0
  lr: 0xfffffe0027ac12f0  fp: 0xfffffe4017ceb800
  lr: 0xfffffe002a1f4914  fp: 0xfffffe4017ceb920
  lr: 0xfffffe0027ace83c  fp: 0xfffffe4017cebab0
  lr: 0xfffffe0027492774  fp: 0xfffffe4017cebbd0
  lr: 0xfffffe00273ac32c  fp: 0xfffffe4017cebc40
  lr: 0xfffffe002738399c  fp: 0xfffffe4017cebcc0
  lr: 0xfffffe002739c7f0  fp: 0xfffffe4017cebd70
  lr: 0xfffffe00274b5c40  fp: 0xfffffe4017cebe40
  lr: 0xfffffe00274c1334  fp: 0xfffffe4017cebef0
  lr: 0xfffffe002735f7e8  fp: 0xfffffe4017cebf00
      Kernel Extensions in backtrace:
         com.apple.driver.watchdog(1.0)[D44D6C64-F220-3976-A01A-F0DC2382A908]@0xfffffe002a1f4000->0xfffffe002a1f7fff

last started kext at 774139470: com.apple.filesystems.smbfs 3.6 (addr 0xfffffe0027260000, size 65536)
loaded kexts:
com.apple.filesystems.smbfs 3.6
com.apple.filesystems.autofs 3.0
com.apple.fileutil 20.036.15
com.apple.driver.AppleALSColorSensor 1.0.0d1
com.apple.iokit.IOBluetoothSerialManager 8.0.5d7
com.apple.driver.AppleBiometricServices 1
com.apple.driver.BCMWLANFirmware4378.Hashstore 1
com.apple.driver.AppleAOPVoiceTrigger 11.5
com.apple.driver.AppleThunderboltIP 4.0.3
com.apple.iokit.AppleBCM5701Ethernet 11.0.0
com.apple.driver.CoreKDL 1
com.apple.driver.SEPHibernation 1
com.apple.driver.DiskImages.ReadWriteDiskImage 493.0.0
com.apple.driver.DiskImages.UDIFDiskImage 493.0.0
com.apple.driver.DiskImages.RAMBackingStore 493.0.0
com.apple.driver.DiskImages.FileBackingStore 493.0.0
com.apple.driver.AppleUSBDeviceNCM 5.0.0
com.apple.filesystems.apfs 1677.120.9
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.security.BootPolicy 1
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.nke.l2tp 1.9
com.apple.filesystems.tmpfs 1
com.apple.IOTextEncryptionFamily 1.0.0
com.apple.filesystems.hfs.kext 556.100.11
com.apple.driver.ApplePMP 1
com.apple.driver.AppleSmartIO2 1
com.apple.driver.ApplePMPFirmware 1
com.apple.AppleEmbeddedSimpleSPINORFlasher 1
com.apple.driver.AppleTAS5770LAmp 442.26
com.apple.driver.AppleCS42L83Audio 442.26
com.apple.driver.AppleSPMIPMU 1.0.1
com.apple.driver.AppleT8020SOCTuner 1
com.apple.driver.AppleT8103CLPCv3 1
com.apple.driver.AppleSPIMC 1
com.apple.AGXG13G 173.28.1
com.apple.driver.AppleAVD 381
com.apple.driver.AppleAVE2 401.73.3
com.apple.driver.AppleJPEGDriver 4.6.0
com.apple.driver.AppleMobileDispH13G-DCP 140.0
com.apple.driver.usb.AppleUSBHostT8103 1
com.apple.driver.AudioDMAController-T8103 1.60.5
com.apple.driver.AppleS5L8960XNCO 1
com.apple.driver.AppleT8103PMGR 1
com.apple.driver.AppleS8000AES 1
com.apple.driver.AppleS5L8920XPWM 1.0.0d1
com.apple.driver.AppleS8000DWI 1.0.0d1
com.apple.driver.AppleS5L8960XWatchDogTimer 1
com.apple.driver.AppleInterruptController 1.0.0d1
com.apple.driver.AppleBluetoothModule 1
com.apple.driver.AppleSamsungSerial 1.0.0d1
com.apple.driver.AppleBCMWLANBusInterfacePCIe 1
com.apple.driver.AppleMCDP29XXUpdateSupport 1
com.apple.driver.AppleT8020DART 1
com.apple.driver.AppleS5L8940XI2C 1.0.0d2
com.apple.driver.AppleT8101 1
com.apple.driver.AppleM68Buttons 1.0.0d1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.driver.usb.AppleUSBUserHCI 1
com.apple.iokit.IOKitRegistryCompatibility 1
com.apple.iokit.EndpointSecurity 1
com.apple.driver.AppleDiskImages2 1
com.apple.AppleSystemPolicy 2.0.0
com.apple.nke.applicationfirewall 311
com.apple.kec.InvalidateHmac 1
com.apple.kext.triggers 1.0
com.apple.iokit.IOAVBFamily 940.4
com.apple.plugin.IOgPTPPlugin 985.2
com.apple.iokit.IOEthernetAVBController 1.1.0
com.apple.driver.AppleMesaSEPDriver 100.99
com.apple.iokit.IOBiometricFamily 1
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.AppleUSBAudio 405.39
com.apple.iokit.IOAudioFamily 300.6.1
com.apple.vecLib.kext 1.2.0
com.apple.driver.AppleAOPAudio 16.2
com.apple.driver.IOBluetoothHostControllerPCIeTransport 8.0.5d7
com.apple.iokit.IOBluetoothHostControllerTransport 8.0.5d7
com.apple.driver.usb.AppleEmbeddedUSBXHCIPCI 1
com.apple.driver.usb.AppleUSBXHCIPCI 1.2
com.apple.driver.AppleEmbeddedUSB 1
com.apple.driver.AppleConvergedIPCOLYBTControl 1
com.apple.driver.AppleConvergedPCI 1
com.apple.driver.AppleBluetoothDebug 1
com.apple.driver.AppleSEPHDCPManager 1.0.1
com.apple.driver.AppleTrustedAccessory 1
com.apple.iokit.AppleSEPGenericTransfer 1
com.apple.driver.DiskImages.KernelBacked 493.0.0
com.apple.driver.usb.networking 5.0.0
com.apple.driver.AppleThunderboltUSBDownAdapter 1.0.4
com.apple.driver.AppleThunderboltDPInAdapter 8.1.4
com.apple.driver.AppleThunderboltDPAdapterFamily 8.1.4
com.apple.driver.AppleThunderboltPCIDownAdapter 4.1.1
com.apple.driver.AppleBTM 1.0.1
com.apple.driver.AppleXsanScheme 3
com.apple.driver.AppleDCPDPTXProxy 1.0.0
com.apple.nke.ppp 1.9
com.apple.driver.DCPDPFamilyProxy 1
com.apple.driver.AppleBSDKextStarter 3
com.apple.filesystems.hfs.encodings.kext 1
com.apple.iokit.IONVMeFamily 2.1.0
com.apple.driver.AppleSPU 1
com.apple.driver.AppleHPM 3.4.4
com.apple.driver.AppleDiagnosticDataAccessReadOnly 1.0.0
com.apple.driver.AppleNANDConfigAccess 1.0.0
com.apple.AGXFirmwareKextG13GRTBuddy 173.28.1
com.apple.AGXFirmwareKextRTBuddy64 173.28.1
com.apple.driver.AppleStockholmControl 1.0.0
com.apple.driver.AppleCSEmbeddedAudio 442.26
com.apple.driver.AppleEmbeddedAudio 442.26
com.apple.iokit.AppleARMIISAudio 80.34.1
com.apple.driver.AppleDialogPMU 1.0.1
com.apple.driver.ApplePassthroughPPM 3.0
com.apple.driver.AppleMCA2-T8103 540.10
com.apple.iokit.IOGPUFamily 21.11
com.apple.driver.AppleH11ANEInterface 4.75.0
com.apple.driver.DCPAVFamilyProxy 1
com.apple.iokit.IOMobileGraphicsFamily-DCP 343.0.0
com.apple.driver.AppleDCP 1
com.apple.driver.AppleFirmwareKit 1
com.apple.iokit.IOMobileGraphicsFamily 343.0.0
com.apple.driver.AppleSPMI 1.0.1
com.apple.driver.AppleUSBXDCIARM 1.0
com.apple.driver.AppleUSBXDCI 1.0
com.apple.iokit.IOUSBDeviceFamily 2.0.0
com.apple.driver.usb.AppleUSBXHCIARM 1
com.apple.driver.usb.AppleUSBXHCI 1.2
com.apple.driver.AppleEmbeddedUSBHost 1
com.apple.driver.usb.AppleUSBHub 1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2
com.apple.driver.AppleT8103TypeCPhy 1
com.apple.driver.AppleSART 1
com.apple.driver.ApplePMGR 1
com.apple.driver.watchdog 1
com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
com.apple.driver.AppleDisplayCrossbar 1.0.0
com.apple.driver.AppleTypeCPhy 1
com.apple.driver.AppleThunderboltNHI 7.2.8
com.apple.driver.AppleT8103PCIeC 1
com.apple.iokit.IOThunderboltFamily 9.3.2
com.apple.driver.ApplePIODMA 1
com.apple.driver.AppleT8103PCIe 1
com.apple.driver.AppleMultiFunctionManager 1
com.apple.driver.AppleEmbeddedPCIE 1
com.apple.driver.AppleBluetoothDebugService 1
com.apple.driver.AppleBCMWLANCore 1.0.0
com.apple.iokit.IO80211FamilyV2 1200.12.2b1
com.apple.driver.IOImageLoader 1.0.0
com.apple.driver.corecapture 1.0.4
com.apple.iokit.IODisplayPortFamily 1.0.0
com.apple.driver.AppleGPIOICController 1.0.2
com.apple.driver.AppleFireStormErrorHandler 1
com.apple.driver.AppleMobileApNonce 1
com.apple.iokit.IOTimeSyncFamily 985.2
com.apple.driver.DiskImages 493.0.0
com.apple.iokit.IOGraphicsFamily 585.1
com.apple.iokit.IOBluetoothFamily 8.0.5d7
com.apple.iokit.IOBluetoothPacketLogger 8.0.5d7
com.apple.driver.FairPlayIOKit 68.7.1
com.apple.iokit.CoreAnalyticsFamily 1
com.apple.driver.AppleSSE 1.0
com.apple.driver.AppleSEPKeyStore 2
com.apple.driver.AppleUSBTDM 511.120.2
com.apple.iokit.IOUSBMassStorageDriver 184.121.1
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOSCSIBlockCommandsDevice 436.121.1
com.apple.iokit.IOSCSIArchitectureModelFamily 436.121.1
com.apple.driver.AppleIPAppender 1.0
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost 1
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.AppleUSBHostMergeProperties 1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.RTBuddy 1.0.0
com.apple.driver.AppleEmbeddedTempSensor 1.0.0
com.apple.driver.AppleARMPMU 1.0
com.apple.iokit.IOAccessoryManager 1.0.0
com.apple.driver.AppleOnboardSerial 1.0
com.apple.iokit.IOSkywalkFamily 1
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.4
com.apple.iokit.IOSerialFamily 11
com.apple.driver.AppleSEPManager 1.0.1
com.apple.driver.AppleA7IOP 1.0.2
com.apple.driver.IOSlaveProcessor 1
com.apple.driver.AppleBiometricSensor 2
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.AUC 1.0
com.apple.iokit.IOAVFamily 1.0.0
com.apple.iokit.IOHDCPFamily 1.0.0
com.apple.iokit.IOCECFamily 1
com.apple.iokit.IOAudio2Family 1.0
com.apple.driver.AppleEmbeddedAudioLibs 1.17
com.apple.driver.AppleFirmwareUpdateKext 1
com.apple.driver.AppleM2ScalerCSCDriver 265.0.0
com.apple.iokit.IOSurface 290.8.1
com.apple.driver.IODARTFamily 1
com.apple.security.quarantine 4
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.kext.CoreTrust 1
com.apple.security.AppleImage4 3.0.0
com.apple.iokit.IOCryptoAcceleratorFamily 1.0.1
com.apple.driver.AppleARMPlatform 1.0.2
com.apple.iokit.IOStorageFamily 2.1
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.iokit.IOReportFamily 47
com.apple.kec.pthread 1
com.apple.kec.corecrypto 11.1
com.apple.kec.Libm 1



** Stackshot Succeeded ** Bytes Traced 303226 (Uncompressed 746640) **
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72445
  • Where did I put my teeth?

Anything other than JRiver in use?  Plug-ins, etc.
Logged

YogiPL

  • Recent member
  • *
  • Posts: 41

No, it was after a clean reboot with nothing running in the background except what I normally have running (nextcloud sync menu icon, forklift 3 menu icon).
I did not install any additional plugins into JRiver.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13875

Searching for
CORE 0 recently retired instr at xxxxxx

Returns a lot of hits mostly issues with either sleeping under various conditions or monitors.

Most modern memory managment schemes don't "return" cached memory to 0. Inactive cached memory is simply removed.
Not sure about swap in MacOS but I think that's similar.

Did you try a single core analyze? That might help track down the issue.

Logged

YogiPL

  • Recent member
  • *
  • Posts: 41

I tested this using using "1 file at a time" and "4 files at a time" processing (from the panic log above).

The result seems the same (increasing memory usage), only with "1-file at a time" the process of resource consumption rise and system becoming unresponsive takes longer (I did not wait until complete crash with the 1-file method).

I have sleep disabled on this machine.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13875

Where is your media stored?
Are you doing audio analysis of video tracks as well?
What are the formats your are using?
Logged

YogiPL

  • Recent member
  • *
  • Posts: 41

All my files are stored on an SMB share from a NAS (OpenMediaVault) on my LAN.
There are no video tracks or anything else besides music on that share.
All my files are FLACs and ~99% of them are 16/44 CD rips (with some rare 24/44 downloads here and there)
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13875

All my files are stored on an SMB share from a NAS (OpenMediaVault) on my LAN.
There are no video tracks or anything else besides music on that share.
All my files are FLACs and ~99% of them are 16/44 CD rips (with some rare 24/44 downloads here and there)
Thanks, I'll see if I can duplicate it. The different filesystem is interesting, there are some file operations that are different on remote filesystems.
Logged

YogiPL

  • Recent member
  • *
  • Posts: 41

If anyone is still interested: I've tested this behavior further and I've found that while doing Audio Analysis the file cache portion of memory usage consistently rises BUT it can be freed by remounting the network share (you don't even have to close jriver)

So basically, it can be done in chunks while watching the Activity Monitor ram usage. Once it hits swap though it's best to stop and remount the share because it WILL crash the system eventually if left alone. Not ideal but with 16GB of memory I could do it in about ~400-500 files per batch without running into swap. I think this could be a bigger issue on the 8GB macs...

This seems to have something to do with the way macos handles network drives? Not sure,
Logged

YogiPL

  • Recent member
  • *
  • Posts: 41

Another bit of info: after buying jriver mc license (you guys are really the "only game in town" on macos it seems ;) ) I installed it also on my old Macbook Air with i5-5xxx and 8GB of RAM.

I ran the media import process from the same share and somehow it found more files to analyze (maybe my M1 stored some info only locally, not in tags? anyway the number of files was the same it just re-analyzed about 500 of them).

It chewed through them no problem (albeit slower) WITHOUT the same file cache/swap issue!

So it seems this is limited to the ARM platform.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13875

That's quite interesting.

There are still at least 2 variables, one the arch, the other the NAS connection.
Disconnecting the Mount likely kicks out the file modification notification.
It would be interesting to see if the M1 would still have the issue with local files.

It's possible there is a bug in the notify system in general on the M1 or over the network. It really shouldn't be trying to do that over SMB, I'm pretty certain SMB doesn't support it.
Logged

retiredteacherguy

  • World Citizen
  • ***
  • Posts: 108

Having just started using the app over the last week (on an M1 Mac mini) I can confirm very high kernel_task levels, in fact forcing a reboot today because everything starting grinding to a halt. FWIW I'm not using any DSP or output changes at all... just playing the files as they are.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13875

Having just started using the app over the last week (on an M1 Mac mini) I can confirm very high kernel_task levels, in fact forcing a reboot today because everything starting grinding to a halt. FWIW I'm not using any DSP or output changes at all... just playing the files as they are.
What's the size of your library? Where are the media files stored?
What build of MC are you running?
Thanks.
Logged

retiredteacherguy

  • World Citizen
  • ***
  • Posts: 108

Small library, all audio 3,059 Flac files running from a Samsung T-7 SSD. I'm running MC 30.0.49
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72445
  • Where did I put my teeth?

Are the files stored locally?
Logged

retiredteacherguy

  • World Citizen
  • ***
  • Posts: 108
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13875

Yes
Do you have an optical drive attached? Are you using the MC TV service at all?
Can you attach a log? We are not seeing these kinds of slowdowns without being attached to a library server.
Logged

retiredteacherguy

  • World Citizen
  • ***
  • Posts: 108

It has been running ok since my last reboot, I'll grab a log if it bogs down again.

No, I don't use an optical or any of the video features, just audio
Logged
Pages: [1]   Go Up