INTERACT FORUM

Please login or register.

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

Author Topic: Why is the save cover art to external location so resource intensive?  (Read 3209 times)

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2666

I have about 4000 albums and saving the cover art to a new external location (on a fast SSD) has taken about an hour thus far. Meanwhile, MC is hung and consuming 100% of one of my cores. I am watching the .jpg count increase in my external directory at the rate of about 1 cover art file per 5 seconds. For a total file operation of less than 1GB, it shouldn't take this long.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2666
Re: Why is the save cover art to external location so resource intensive?
« Reply #1 on: March 29, 2018, 12:43:56 pm »

I was using beta 24.0.7 and thus this may have been caused by this migration issue:

24.0.8 (3/29/2018)
2. Fixed: Copying Cover Art folder from MC23 to MC24 during upgrade installation did not work.

It's possible that it was pulling from the tags or something.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10945
Re: Why is the save cover art to external location so resource intensive?
« Reply #2 on: March 30, 2018, 11:47:57 am »

That only refers to the installer, which is only used on Windows, not a task MC itself actually does.
Logged
~ nevcairiel
~ Author of LAV Filters

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13875
Re: Why is the save cover art to external location so resource intensive?
« Reply #3 on: April 03, 2018, 10:18:23 am »

I have about 4000 albums and saving the cover art to a new external location (on a fast SSD) has taken about an hour thus far. Meanwhile, MC is hung and consuming 100% of one of my cores. I am watching the .jpg count increase in my external directory at the rate of about 1 cover art file per 5 seconds. For a total file operation of less than 1GB, it shouldn't take this long.
That's brutal. Sounds to me like it's doing a byte by byte copy.
What filesystem is on the external location?
Is that location part of auto-import?
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2666
Re: Why is the save cover art to external location so resource intensive?
« Reply #4 on: April 03, 2018, 01:13:20 pm »

Cover art directory is ext4 and that specific directory is not part of auto-import. I ended up choosing to store the cover art alongside each album instead of a single cover art directory because I experienced this same issue on my subsequent machines.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13875
Re: Why is the save cover art to external location so resource intensive?
« Reply #5 on: April 03, 2018, 02:40:43 pm »

Cover art directory is ext4 and that specific directory is not part of auto-import. I ended up choosing to store the cover art alongside each album instead of a single cover art directory because I experienced this same issue on my subsequent machines.
Is it a sub directory of the auto-import? The reason I ask is that I'm trying to figure out if our use of the linux filesystem notifiy might be causing the issue.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2666
Re: Why is the save cover art to external location so resource intensive?
« Reply #6 on: April 10, 2018, 11:04:05 am »

No, it's not a subdirectory of any of my auto-import folders, although it resides on the same disk in the same parent directory, i.e.:

Auto-import:
/run/media/user/Media/Music
/run/media/user/Media/TV
/run/media/user/Media/Moves

Cover art dir:
/run/media/user/Media/Covers
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13875
Re: Why is the save cover art to external location so resource intensive?
« Reply #7 on: April 12, 2018, 09:00:34 am »

No, it's not a subdirectory of any of my auto-import folders, although it resides on the same disk in the same parent directory, i.e.:

Auto-import:
/run/media/user/Media/Music
/run/media/user/Media/TV
/run/media/user/Media/Moves

Cover art dir:
/run/media/user/Media/Covers
If you run
sudo dmesg
from a terminal windows when you are trying to move the cover art do you see any hardware errors?
Logged
Pages: [1]   Go Up