Re: Very slow speeds (185MB/s) when copying from one internal NVME to another
Just out of interest and because I just so happen to have two nvme drives installed in my main test server at the moment, I tried to see what I get.
Motherboard: ASUS PRIME Z490-A
Memory: 32G
Processor: Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz (turbo to 4.8 GHz)
OS: Ubuntu 24.04.1 (Server, no GUI)
Kernel: 6.12.0-rc7
Format: EXT4 (both NVME drives)
NVME 1: WD_BLACK_SN850X_2000GB
NVME 2: WD_BLACK_SN850X_1000GB
CPU Frequency scaling driver and governor: intel_pstate / performance. HWP disabled.
Force CPU 5 only, to avoid CPU migration delays.
File: 536,870,912,000 random bytes.
Copy from NVME 1 to NVME 2: 1,416,545,942 bytes per second.
Copy from NVME 2 to NVME 1: 1,269,198,374 bytes per second.
Example of Script used:
Code:
doug@s19:/media/nvme/home/doug/tmp/tmp/tmp/tmp$ cat copy-big-pull
#!/bin/bash
date
taskset -c 5 cp ~/tmp/tmp/tmp/tmp/big ./
date
sync
date
EDIT: it doesn't seem to make a difference if the CPU frequency scaling governor is powersave and no forcing of CPU affinity.
Read only rate from:
NVME 1: 2791.103 Mega Bytes per second.
NVME 2: 1611.177 Mega Bytes per second.
Last edited by Doug S; November 24th, 2024 at 01:11 AM.
Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.