Slow Performance Loading "My Playlists"

iMac 3.4 GHz Quad-Core Intel Core i5 with 16GB physical RAM
macOS Ventura 13.6.4
Audirvana Origin 2.5.11 (20511)
Database is newly re-built.
In “Audio” settings, SysOptimizer is ON
In “Library” settings, I synchronize using “Use my iTunes / Music Library”
60,000 songs in the Music application on an external hard drive connected by USB.

Launching Audirvana Origin takes 35 seconds.
Displaying 51 folders in “My Playlists” takes 8 minutes 45 seconds.
Displaying 35 playlists from one folder takes 3 minutes 41 seconds.
Displaying songs in one playlist takes 11 seconds.

After clicking into a folder and playlist then going back to displaying 51 folders in “My Playlists” again, it takes 5 minutes 4 seconds.

If I click into a playlist folder before all of the playlist folders are displayed, it takes 8 minutes 22 seconds to display the playlists in that folder.

If I click into another part of the interface (like “Library/Albums”) while “My Playlists” are loading, I get a blank screen and a spinning beach ball. Then I get “Application Not Responding” and I have to Force Quit Audirvana Origin.

Is there something I can do to resolve the slow performance of loading “My Playlists”?

One other thing… why are playlists from the Apple TV application displayed in Audirvana Origin?


Audirvana Origin 2.5.11 (20511)

macOS 13.6.4 with 16GB physical RAM

Connected account of : DB

NETWORK
Status: available

SIGNAL PROCESSING:

Polarity Inversion:
	Globally: OFF
	Per track: OFF
Effects plugins NOT ACTIVE

UPSAMPLING:
SoX not in use
SoX filter parameters
Bandwidth at 0dB = 99.5%
Filter max length = 30000
Anti-aliasing = 100
Phase = 66%

AUDIO VOLUME:
Max allowed volume: 100
Replay Gain: None
SW volume control: OFF

LIBRARY SETTINGS:
Sync list: 0 folders
iTunes/Music library synchronization: last synchronized on Thu Mar 14 20:14:49 2024

Library database path: /Users/xxx/Library/Application Support/Audirvana/AudirvanaDatabase.sqlite

Remote Control server:
Listening on 127.0.0.1 on port 56627

=================== AUDIO DEVICE ========================

Active method: Local

Max. memory for audio buffers: 4096MB

Local Audio Engine: CoreAudio
Exclusive access: ON
Integer mode: ON
Use max I/O buffer size: ON
Actual I/O buffer frame size: 512

Preferred device:
Schiit Audio Schiit Bifrost 2 Unison USB
Model UID:Schiit Bifrost 2 Unison USB:30BE:1000
UID:AppleUSBAudioEngine:Schiit Audio:Schiit Bifrost 2 Unison USB:14610000:1

Active Sample Rate: 44.1kHz
Hog Mode is off

Bridge settings:
Sample rate limitation: 192kHz
Sample rate switching latency: none
Limit bitdepth to 24bit: ON
Mute during sample rate change: OFF

Selected device:Schiit Bifrost 2 Unison USB
Manufacturer: Schiit Audio
Model name: Schiit Audio Schiit Bifrost 2 Unison USB
Model UID: Schiit Bifrost 2 Unison USB:30BE:1000
UID: AppleUSBAudioEngine:Schiit Audio:Schiit Bifrost 2 Unison USB:14610000:1
USB Vendor ID: 0x30be
USB Product ID: 0x1000
ID 0x4d

6 available sample rates up to 192000Hz
44100
48000
88200
96000
176400
192000
Audio buffer frame size : 14 to 4096 frames
Current I/O buffer frame size : 512

Volume Control
Physical: No
Virtual: No
Max volume alert: Enabled

MQA capability
Auto-detect MQA devices: Yes
Not a MQA device, user set to not MQA

DSD capability
Unhandled (PCM conversion) with boost gain of 6dB

Device audio channels
Preferred stereo channels L:1 R:2
Channel bitmap: Ox3, layout:
Channel 0 mapped to 0
Channel 1 mapped to 1

Audio channels in use
Number of channels: 2
Use as stereo device only: No
Simple stereo device: Yes

1 output streams:
Number of active channels: 2, in 1 stream(s)
Channel #0 :Stream 0 channel 0
Channel #1 :Stream 0 channel 1

Stream ID 0x4e 2 channels starting at 1
24 virtual formats:
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 192kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 176.4kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 96kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 88.2kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 48kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 44.1kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 44.1kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 44.1kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz

36 physical formats
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 192kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 176.4kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 96kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 88.2kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 48kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 44.1kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer 192kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer 176.4kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer 96kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer 88.2kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer 48kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer 44.1kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 192kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 176.4kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 96kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 88.2kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 48kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 44.1kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 44.1kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz

Local devices found : 3
Device #0: ID 0x58 Built-in Output
Manufacturer: Apple Inc.
Model UID: AppleHDA:16
UID: AppleHDAEngineOutput:1F,3,0,1,1:0
Model name: Apple Inc. Built-in Output
Device #1: ID 0x4d Schiit Bifrost 2 Unison USB
Manufacturer: Schiit Audio
Model UID: Schiit Bifrost 2 Unison USB:30BE:1000
UID: AppleUSBAudioEngine:Schiit Audio:Schiit Bifrost 2 Unison USB:14610000:1
USB Vendor ID: 0x30be
USB Product ID: 0x1000
Model name: Schiit Audio Schiit Bifrost 2 Unison USB
Device #2: ID 0x32 ZoomAudioDevice
Manufacturer: zoom.us
Model UID: zoom.us.zoomaudiodevice
UID: zoom.us.zoomaudiodevice.001
Model name: zoom.us ZoomAudioDevice

UPnP

UPnP devices found : 1
Device #0: ID 0x0 : Sonica-880346
UID: uuid:0bdcb374-1dd2-11b2-bd01-fe4d12eb3d00_Hi
Location: http://10.0.0.212:49152/dmr_lu_2.xml
Manufacturer: OPPO
Model name: OPPO Sonica

Chromecast

Chromecast devices found : 0

Can you take some screenshots of macOS Activity monitor CPU load and also one of Memory usage whilst you have your issues. Examples of the CPU activity and memory usage tabs are shown below for my system.

CPU

Memory Tab

I would also record a log session after first opening Origin (settings\my account\help\start log session) and when you go to access your playlists then end the log session and keep as Antoine may wish you to send one.

Update:

Just noticed your library is stored on a USB disk, my bad, what manufacturer and model?

I have a WD 8TB My Book Desktop External Hard Drive, USB 3.0.
2.5TB available. Mac OS Extended (Journaled).

audirvana_origin.log
2024-03-15 02:22:09.644 [info]: ============= Started Logging, Audirvana Origin 2.5.11 (20511) macOS =============
2024-03-15 02:22:09.762 [info]: Remote started on port 49250
2024-03-15 02:22:30.874 [info]: UPnP stack initialized using specified interface: en0
2024-03-15 02:22:31.076 [info]: UPnP web server started on 10.0.0.176:49152
2024-03-15 02:22:37.927 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:22:55.145 [error]: Error getting volume uuid for /Volumes/Time Machine/ retrying once
2024-03-15 02:22:55.648 [error]: Error getting volume uuid for /Volumes/Time Machine/ retrying once
2024-03-15 02:24:54.646 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:24:54.764 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:24:54.887 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:24:55.006 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:24:55.127 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:24:55.250 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:24:55.370 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:24:55.490 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:24:55.609 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:24:55.732 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:24:55.852 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:24:55.970 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:53.651 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:53.768 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:53.888 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:54.008 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:54.133 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:54.250 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:54.372 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:54.490 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:54.614 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:54.735 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:54.857 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204
2024-03-15 02:34:54.980 [error]: UPnP: Error obtaining device description from http://169.254.100.1:50755/ebf5a0a0-1dd1-11b2-a90f-a8705d0762e5.xml – error = -204

Hi @bru.db,

How many playlists you have in iTunes?

Seeing as mds_stores and mds processes are maxing out your CPU it would appear it is a spotlight indexing issue when indexing your external drive. I would attempt to solve this by

  1. Temporarily disable spotlight and see if this improves the issue.
  2. Stop then re-start spotlight in macOS and wait for it to complete indexing your external drive then see if you still have an issue with playlists (may take considerable time)

Obviously a reboot would be the first step but I am sure you have done this.

I have attached a link to an article highlighting slowdowns caused by spotlight indexing drives which gives some instructions on how to terminate and re-enable spotlight using the terminal. You could also check the apple support website which should have instructions for this.

If turning off and on spotlight steps listed above doesn’t work I would use disk utilities first aid option to make sure there are no errors on your external drive.

Obviously it could be caused by a bug in Origin but then I am sure there would be many other users reporting your issue.

https://www.easeus.com/computer-instruction/mds-store.html#:~:text=There are mainly two reasons,software or even system bugs.

Update: A specific guide for turning off spotlight in Ventura attached below;

1 Like

I have 217 Music application playlists (plus the 15 Apple TV application playlists that are also displayed). I have no playlists created directly in Origin.

I think the apple TV playlists are stored in the apple music library. From your processor usage you can see AMPLibraryagent is active so this is Audirvana synching your iTunes Library. At the same time you have spotlight indexing your external drive. Hence the significant slowdown due to very high CPU usage. Turning off spotlight and then rebooting AO and accessing your playlists should be faster.

I think apple only last week finally stopped selling movies/videos on the iTunes store so I assume they haven’t got round to splitting the video playlists from the Apple music library yet.

No problems with the hard drive.
Checking into the Spotlight issue now.

Good luck.

do you have a lot of tracks inside those playlists?

The playlists vary, of course, from 10 to 30 tracks. So I estimate about 20 tracks per playlist. That would put me at approximately 4340 tracks total for all Music playlists.

Ok, I’m sorry to say this, but the issue you have is probably linked to the Apple iTunes API that is slow to response to the query we make, hence the slowness you encounter.

For testing purpose, can you please remove the iTunes sync and directly try to sync the folder containing your music and then try to export/import one of your iTunes playlist in Audirvāna?

I removed the Music Library synchronization, added music to my Audirvana Local Library by adding a folder, and then imported 1 large playlist. The result was that “My Playlists” displayed very fast when starting up Origin. Problem solved.

The workaround for my problem is to create playlist folders in Origin and import all my playlists into Origin and skip the Music Library sync going forward. That is a viable solution but not a great solution.

As I see it, my options are 1) abandon the Apple Music application and switch to using Origin as my main music organizer, or 2) just put up with the Origin playlist slowness.

I guess my feature request would be for Origin to import Apple Music application folders/playlists directly into Origin when syncing with the Apple Music application.

Thanks for your help with this!

This app will help you doing an export of your Music playlist :wink:

Ditched Apple Music, iTunes as was, the day I started with Audirvāna. In fact, I bought Audirvana precisely so I could ditch iTunes, improved sound quality was just a bonus!

I’m just the opposite. I purchased Audirvana for the improved sound quality, automatic sample rate changing, and DLNA support. I like the Apple Music application for the user interface, track maintenance, and how it works in the Apple ecosystem. (Been an Apple guy since 1985.)

Couldn’t agree more on the Apple Music UI front. At best I don’t think the other “audiophile media player” designers have ever attended a UI design course. At their worst some of the app designers should be in the Hague for crimes against (the eyes) of humanity. But of course that is my personal opinion… :stuck_out_tongue_winking_eye: