-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very slow download process on low end machine #2059
Comments
can you try downloading the file with yt-dlp? |
Trying with youtube-dlp:
Without conversion:
Manually converting m4a to mp3 (takes around two seconds):
|
v4.2.6 will have |
Also try converting with ffmpeg without |
System OS
Linux
Python Version
3.10 (CPython)
Install Source
pip / PyPi
Install version / commit hash
v4.2.5
Expected Behavior vs Actual Behavior
The entire download process takes about 350-400 seconds (about 6 minutes) for a single song (this does not change significantly with a different number of threads).
It is a low-end machine, but the CPU utilisation of Spotdl is only 5%, while the whole system uses about 10% of the CPU.
The RAM utilisation is 5 GB out of 8 GB, so it is not critical either.
Is there a problem/ performance issue/ bottleneck on my side or is spotdl not optimised for low-end machines?
Other (normal) programmes such as nginx and Python applications that use Flask, for example, do not run slowly.
The internet connection is fast enough, as it takes around 12 seconds to download a single song on another PC.
Steps to reproduce - Ensure to include actual links!
spotdl --log-level DEBUG --threads 8 "Test drive"
Traceback
Other details
webserver@webserver:~$ sudo lshw -short
H/W path Device Class Description
/0 bus B150M-C D3
/0/0 memory 64KiB BIOS
/0/41 memory 64KiB L1 cache
/0/42 memory 64KiB L1 cache
/0/43 memory 512KiB L2 cache
/0/44 memory 3MiB L3 cache
/0/45 processor Intel(R) Pentium(R) CPU G4400 @ 3.30GHz
/0/46 memory 8GiB System Memory
/0/46/0 memory [empty]
/0/46/1 memory 4GiB DIMM DDR3 Synchronous 1600 MHz (0,6 ns)
/0/46/2 memory [empty]
/0/46/3 memory 4GiB DIMM DDR3 Synchronous 1600 MHz (0,6 ns)
/0/100 bridge Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers
/0/100/1 bridge 6th-10th Gen Core Processor PCIe Controller (x16)
/0/100/1/0 /dev/fb0 display G72 [GeForce 7300 LE]
/0/100/14 bus 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller
/0/100/14/0 usb1 bus xHCI Host Controller
/0/100/14/1 usb2 bus xHCI Host Controller
/0/100/16 communication 100 Series/C230 Series Chipset Family MEI Controller #1
/0/100/17 scsi0 storage Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode]
/0/100/17/0 /dev/cdrom disk DVDRAM GH24NSD1
/0/100/17/1 /dev/sda disk 512GB INTENSO SSD
/0/100/17/1/1 /dev/sda1 volume 2096KiB BIOS Boot partition
/0/100/17/1/2 /dev/sda2 volume 4194MiB EXT4 volume
/0/100/17/1/3 /dev/sda3 volume 472GiB EFI partition
/0/100/1c bridge 100 Series/C230 Series Chipset Family PCI Express Root Port #5
/0/100/1d bridge 100 Series/C230 Series Chipset Family PCI Express Root Port #9
/0/100/1d.1 bridge 100 Series/C230 Series Chipset Family PCI Express Root Port #10
/0/100/1d.1/0 enp4s0 network RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/0/100/1d.2 bridge 100 Series/C230 Series Chipset Family PCI Express Root Port #11
/0/100/1d.2/0 bridge ASM1083/1085 PCIe to PCI Bridge
/0/100/1f bridge B150 Chipset LPC/eSPI Controller
/0/100/1f/0 system PnP device PNP0c02
/0/100/1f/1 printer PnP device PNP0400
/0/100/1f/2 communication PnP device PNP0501
/0/100/1f/3 communication PnP device PNP0501
/0/100/1f/4 system PnP device PNP0c02
/0/100/1f/5 system PnP device PNP0c02
/0/100/1f/6 system PnP device PNP0b00
/0/100/1f/7 generic PnP device INT3f0d
/0/100/1f/8 system PnP device PNP0c02
/0/100/1f/9 system PnP device PNP0c02
/0/100/1f/a system PnP device PNP0c02
/0/100/1f/b system PnP device PNP0c02
/0/100/1f.2 memory Memory controller
/0/100/1f.3 card0 multimedia 100 Series/C230 Series Chipset Family HD Audio Controller
/0/100/1f.3/0 input4 input HDA Intel PCH Rear Mic
/0/100/1f.3/1 input5 input HDA Intel PCH Front Mic
/0/100/1f.3/2 input6 input HDA Intel PCH Line
/0/100/1f.3/3 input7 input HDA Intel PCH Line Out
/0/100/1f.3/4 input8 input HDA Intel PCH Front Headphone
/0/100/1f.4 bus 100 Series/C230 Series Chipset Family SMBus
/1 power To Be Filled By O.E.M.
/2 input0 input Sleep Button
/3 input1 input Power Button
/4 input2 input Power Button
/5 input3 input Eee PC WMI hotkeys
The text was updated successfully, but these errors were encountered: