Skip to content
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

Slow disk io on MacOS #11

Open
IanButterworth opened this issue May 10, 2020 · 1 comment
Open

Slow disk io on MacOS #11

IanButterworth opened this issue May 10, 2020 · 1 comment
Labels
findings For discussing findings from the benchmarking

Comments

@IanButterworth
Copy link
Owner

Opening an issue to discuss the slow disk io performance seen in early tests across MacOS

@IanButterworth IanButterworth added the findings For discussing findings from the benchmarking label May 10, 2020
@giordano
Copy link
Collaborator

giordano commented May 11, 2020

On my MacBook, with macOS:

$ time dd if=/dev/zero bs=1k of=tstfile count=1
1+0 records in
1+0 records out
1024 bytes transferred in 0.000063 secs (16268816 bytes/sec)

real	0m0.007s
user	0m0.001s
sys	0m0.003s
$ time dd if=/dev/zero bs=1024k of=tstfile count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.000707 secs (1483320914 bytes/sec)

real	0m0.005s
user	0m0.001s
sys	0m0.003s

with ArchLinux:

% time dd if=/dev/zero bs=1k of=tstfile count=1 
1+0 records in
1+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 0.000286261 s, 3.6 MB/s
dd if=/dev/zero bs=1k of=tstfile count=1  0.00s user 0.00s system 89% cpu 0.003 total
% time dd if=/dev/zero bs=1024k of=tstfile count=1  
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00084763 s, 1.2 GB/s
dd if=/dev/zero bs=1024k of=tstfile count=1  0.00s user 0.02s system 98% cpu 0.023 total

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
findings For discussing findings from the benchmarking
Projects
None yet
Development

No branches or pull requests

2 participants