mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[GH-ISSUE #617] koel:sync is slow #441
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#441
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alashow on GitHub (Jul 1, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/617
I installed Koel from the master branch.
I have +170000 mp3s in my storage. When I run
koel:sync, some mp3s take more than a minute, some of them a little bit faster, and others sync as fast as it looks like it's skipped.I was watching it, and it went like this:
215/174517 - ~1 minute
216/174517 - ~40 seconds
217/174517 - ~30 seconds and then jumped to 221
Example screencast
@phanan commented on GitHub (Jul 2, 2017):
Koel doesn't handle mp3 tag reading (which is the essential part of syncing), but relies on getID3 for it. From my understanding, getID3's reading speed mostly depends on the mp3 file's binary structure, whether they have tag errors, then your system's performance, and so on. Basically there's not much Koel can do in this case.
@alashow commented on GitHub (Jul 2, 2017):
I don't think it's my system's performance issue. It's dedicated server hosted by Hetzner (EX41S-SSD).
Although, my files are located in a storage box, which is also hosted by Hetzner, in the same data center. But the speed is not that bad to process one mp3 file for 40+ seconds).
I will try to debug it in my free time to find out the issue.
@phanan commented on GitHub (Jul 2, 2017):
If the files are stored in a separated box (albeit in the same data
center), then the speed may suffer, too.
On Sun, Jul 2, 2017 at 7:21 PM, Alashow notifications@github.com wrote:
@alashow commented on GitHub (Jul 2, 2017):
Yeah, that i/o speed test result with
ddfrom above is the actual speed.@gerroon commented on GitHub (Jun 3, 2018):
I have this issue with v3.7.2 :(
I just created a a fresh database and it only synched 27000 songs out of 62000 in 14 hours :( It is still going on and has waysss to go.
I am using Koel on Debian Testing with MariaDb. Both drives (installation and music) are on the same system. MariaDb is on an SSD drive while music is on a usb3 drive.