threefoldtech / 0-db-fs

Apache License 2.0
2 stars 1 forks source link

TC345 - min performance for small size files 1KB = 1 MB/sec if ZDB's local to the test VM #37

Open dmitri-alleo opened 2 years ago

dmitri-alleo commented 2 years ago

The speed varies from 400 kb/s to 860 kb/s

The average speed is 530 kb/s

Testnet

maxux commented 2 years ago

Can you provide commands executed to benchmark ?

VenyaPanou commented 2 years ago

@maxux root@VM6b80c6d9:~# for i in {0..10}; do dd if=/dev/urandom of="File$(printf "%03d" "$i").txt" bs=1K count=1; done; 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00209368 s, 489 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.0017631 s, 581 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00185282 s, 553 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00274466 s, 373 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00253484 s, 404 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00182917 s, 560 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.0029053 s, 352 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00208171 s, 492 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00210805 s, 486 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00241381 s, 424 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00287521 s, 356 kB/s

VenyaPanou commented 2 years ago

@maxux second time root@VM6b80c6d9:~# for i in {0..10}; do dd if=/dev/urandom of="File$(printf "%03d" "$i").txt" bs=1K count=1; done; 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00188482 s, 543 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00263939 s, 388 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00255963 s, 400 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00198389 s, 516 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00178724 s, 573 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00182352 s, 562 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.0012365 s, 828 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00207793 s, 493 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00134107 s, 764 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00200212 s, 511 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00261495 s, 392 kB/s

maxux commented 2 years ago

Transferred to the right repository :)