Author Archives: admin

Biggest folders in current path

If you need to find what is the biggest folders in current path in linux then this is the command:

du -sh * 2>/dev/null | sort -h

It needs couple of seconds to calculate (if you have slow io vps or hdd) and this is what you get:

root@vps3345:/home/nick/web# du -sh * 2>/dev/null | sort -h
713M    alle.ch
1.1G    moji.com
1.6G    rab.de
1.8G    zoek.nl
2.5G    al.at
5.4G    mojia.si
7.6G    a.co.uk
11G     sle.cz
13G     akceer.com

het

top - 22:09:43 up 1 min,  1 user,  load average: 0.11, 0.05, 0.02
Tasks: 169 total,   1 running, 168 sleeping,   0 stopped,   0 zombie
top - 22:09:47 up 1 min,  1 user,  load average: 0.11, 0.05, 0.02
Tasks: 169 total,   1 running, 168 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  1.5 sy,  0.0 ni, 98.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :  64096.2 total,  63708.6 free,    250.6 used,    137.0 buff/cache
MiB Swap:  32768.0 total,  32768.0 free,      0.0 used.  63325.1 avail Mem                                PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                            787 root      20   0   10520   3840   3224 R   6.7   0.0   0:00.01 top                                  1 root      20   0  165876  11176   8128 S   0.0   0.0   0:00.77 systemd                              2 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kthreadd                             3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp                               4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par_gp                           5 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 slub_flushwq                         6 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 netns                                7 root      20   0       0      0      0 I   0.0   0.0   0:00.00 kworker/0:0-events                   8 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/0:0H-events_highpri          9 root      20   0       0      0      0 I   0.0   0.0   0:00.48 kworker/u16:0-events_unbound        10 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq                        11 root      20   0       0      0      0 S   0.0   0.0   0:00.00 rcu_tasks_rude_                     12 root      20   0       0      0      0 S   0.0   0.0   0:00.00 rcu_tasks_trace                     13 root      20   0       0      0      0 S   0.0   0.0   0:00.00 ksoftirqd/0                         14 root      20   0       0      0      0 I   0.0   0.0   0:00.01 rcu_sched                           15 root      rt   0       0      0      0 S   0.0   0.0   0:00.00 migration/0                         16 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/0                       17 root      20   0       0      0      0 I   0.0   0.0   0:00.00 kworker/0:1-events                  18 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/0                             19 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/1                             20 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/1                       21 root      rt   0       0      0      0 S   0.0   0.0   0:00.33 migration/1                         22 root      20   0       0      0      0 S   0.0   0.0   0:00.00 ksoftirqd/1                         23 root      20   0       0      0      0 I   0.0   0.0   0:00.00 kworker/1:0-mm_percpu_wq            24 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/1:0H-events_highpri         25 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/2                             26 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/2                       27 root      rt   0       0      0      0 S   0.0   0.0   0:00.33 migration/2                         28 root      20   0       0      0      0 S   0.0   0.0   0:00.00 ksoftirqd/2                         29 root      20   0       0      0      0 I   0.0   0.0   0:00.00 kworker/2:0-events                  30 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/2:0H-events_highpri         31 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/3                             32 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/3                       33 root      rt   0       0      0      0 S   0.0   0.0   0:00.33 migration/3                         34 root      20   0       0      0      0 S   0.0   0.0   0:00.00 ksoftirqd/3                         35 root      20   0       0      0      0 I   0.0   0.0   0:00.00 kworker/3:0-events                  36 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/3:0H-events_highpri         37 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/4                             38 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/4                       39 root      rt   0       0      0      0 S   0.0   0.0   0:00.33 migration/4                         40 root      20   0       0      0      0 S   0.0   0.0   0:00.00 ksoftirqd/4                         41 root      20   0       0      0      0 I   0.0   0.0   0:00.00 kworker/4:0-events                  42 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/4:0H-events_highpri         43 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/5                             44 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/5                       45 root      rt   0       0      0      0 S   0.0   0.0   0:00.33 migration/5                         46 root      20   0       0      0      0 S   0.0   0.0   0:00.00 ksoftirqd/5                         47 root      20   0       0      0      0 I   0.0   0.0   0:00.00 kworker/5:0-ipv6_addrconf           48 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/5:0H-events_highpri         49 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/6                             50 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/6                       51 root      rt   0       0      0      0 S   0.0   0.0   0:00.33 migration/6                         52 root      20   0       0      0      0 S   0.0   0.0   0:00.00 ksoftirqd/6                         53 root      20   0       0      0      0 I   0.0   0.0   0:00.00 kworker/6:0-events                  54 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/6:0H-events_highpri         55 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/7                        root@Ubuntu-2204-jammy-amd64-base ~ # df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           6.3G  796K  6.3G   1% /run
/dev/sda3       407G  2.1G  384G   1% /
tmpfs            32G     0   32G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/sda2       975M  134M  791M  15% /boot
tmpfs           6.3G     0  6.3G   0% /run/user/0
root@Ubuntu-2204-jammy-amd64-base ~ # curl -sL yabs.sh | bash
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
#              Yet-Another-Bench-Script              #
#                     v2023-04-23                    #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Sun Jun  4 10:10:30 PM CEST 2023

Basic System Information:
---------------------------------
Uptime     : 0 days, 0 hours, 1 minutes
Processor  : Intel(R) Xeon(R) CPU E3-1275 v5 @ 3.60GHz
CPU cores  : 8 @ 3600.000 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM        : 62.6 GiB
Swap       : 32.0 GiB
Disk       : 407.4 GiB
Distro     : Ubuntu 22.04.2 LTS
Kernel     : 5.15.0-71-generic
VM Type    : NONE
IPv4/IPv6  : ✔ Online / ✔ Online

IPv6 Network Information:
---------------------------------
ISP        : Hetzner Online GmbH
ASN        : AS24940 Hetzner Online GmbH
Host       : Hetzner
Location   : Falkenstein, Saxony (SN)
Country    : Germany

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 40.86 MB/s   (10.2k) | 199.66 MB/s   (3.1k)
Write      | 40.94 MB/s   (10.2k) | 200.71 MB/s   (3.1k)
Total      | 81.80 MB/s   (20.4k) | 400.37 MB/s   (6.2k)
           |                      |
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 316.62 MB/s    (618) | 300.09 MB/s    (293)
Write      | 333.45 MB/s    (651) | 320.08 MB/s    (312)
Total      | 650.07 MB/s   (1.2k) | 620.18 MB/s    (605)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed      | Ping
-----           | -----                     | ----            | ----            | ----
Clouvider       | London, UK (10G)          | 781 Mbits/sec   | 933 Mbits/sec   | 19.9 ms
Scaleway        | Paris, FR (10G)           | 785 Mbits/sec   | 928 Mbits/sec   | 24.6 ms
NovoServe       | North Holland, NL (40G)   | 788 Mbits/sec   | 937 Mbits/sec   | 11.8 ms
Uztelecom       | Tashkent, UZ (10G)        | 749 Mbits/sec   | 610 Mbits/sec   | 92.2 ms
Clouvider       | NYC, NY, US (10G)         | 738 Mbits/sec   | 93.5 Mbits/sec  | 86.9 ms
Clouvider       | Dallas, TX, US (10G)      | 711 Mbits/sec   | 361 Mbits/sec   | 123 ms
Clouvider       | Los Angeles, CA, US (10G) | 692 Mbits/sec   | 336 Mbits/sec   | 150 ms

iperf3 Network Speed Tests (IPv6):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed      | Ping
-----           | -----                     | ----            | ----            | ----
Clouvider       | London, UK (10G)          | 776 Mbits/sec   | 914 Mbits/sec   | 19.9 ms
Scaleway        | Paris, FR (10G)           | 778 Mbits/sec   | busy            | 24.7 ms
NovoServe       | North Holland, NL (40G)   | 781 Mbits/sec   | 923 Mbits/sec   | 11.8 ms
Uztelecom       | Tashkent, UZ (10G)        | 740 Mbits/sec   | 687 Mbits/sec   | 92.0 ms
Clouvider       | NYC, NY, US (10G)         | 597 Mbits/sec   | 152 Mbits/sec   | 87.9 ms
Clouvider       | Dallas, TX, US (10G)      | 704 Mbits/sec   | 289 Mbits/sec   | 123 ms
Clouvider       | Los Angeles, CA, US (10G) | 687 Mbits/sec   | 322 Mbits/sec   | 150 ms

Geekbench 6 Benchmark Test:
---------------------------------
Test            | Value
                |
Single Core     | 1358
Multi Core      | 4520
Full Test       | https://browser.geekbench.com/v6/cpu/1482576

YABS completed in 12 min 2 sec
root@Ubuntu-2204-jammy-amd64-base ~ #

Intel Xeon E3-1245 V2, 32GB, 480GB SSD, 100mbit


root@silverstar:~# curl -sL yabs.sh | bash
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
#              Yet-Another-Bench-Script              #
#                     v2022-08-20                    #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Thu Oct 13 22:32:06 UTC 2022

Basic System Information:
---------------------------------
Uptime     : 11 days, 23 hours, 56 minutes
Processor  : Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz
CPU cores  : 8 @ 1609.437 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM        : 31.3 GiB
Swap       : 1024.0 MiB
Disk       : 438.4 GiB
Distro     : Ubuntu 20.04.5 LTS
Kernel     : 5.4.0-126-generic

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 158.78 MB/s  (39.6k) | 232.40 MB/s   (3.6k)
Write      | 159.20 MB/s  (39.8k) | 233.62 MB/s   (3.6k)
Total      | 317.99 MB/s  (79.4k) | 466.03 MB/s   (7.2k)
           |                      |
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 209.89 MB/s    (409) | 225.00 MB/s    (219)
Write      | 221.04 MB/s    (431) | 239.99 MB/s    (234)
Total      | 430.93 MB/s    (840) | 464.99 MB/s    (453)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 95.2 Mbits/sec  | 928 Mbits/sec
Online.net      | Paris, FR (10G)           | busy            | 930 Mbits/sec
Hybula          | The Netherlands (40G)     | 95.0 Mbits/sec  | 930 Mbits/sec
Uztelecom       | Tashkent, UZ (10G)        | 33.2 Mbits/sec  | 395 Mbits/sec
Clouvider       | NYC, NY, US (10G)         | 32.0 Mbits/sec  | 397 Mbits/sec
Clouvider       | Dallas, TX, US (10G)      | 23.1 Mbits/sec  | 120 Mbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 23.8 Mbits/sec  | 281 Mbits/sec

iperf3 Network Speed Tests (IPv6):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 93.9 Mbits/sec  | 915 Mbits/sec
Online.net      | Paris, FR (10G)           | 93.9 Mbits/sec  | 915 Mbits/sec
Hybula          | The Netherlands (40G)     | 92.2 Mbits/sec  | 908 Mbits/sec
Uztelecom       | Tashkent, UZ (10G)        | 29.0 Mbits/sec  | 290 Mbits/sec
Clouvider       | NYC, NY, US (10G)         | 35.8 Mbits/sec  | 390 Mbits/sec
Clouvider       | Dallas, TX, US (10G)      | 20.9 Mbits/sec  | 239 Mbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 22.1 Mbits/sec  | 186 Mbits/sec

Geekbench 5 Benchmark Test:
---------------------------------
Test            | Value
                |
Single Core     | 885
Multi Core      | 3311
Full Test       | https://browser.geekbench.com/v5/cpu/17935744

E3 1220 1TB 8GB yabs test

root@sd-55570:/tmp# curl -sL yabs.sh | bash
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
#              Yet-Another-Bench-Script              #
#                     v2022-08-20                    #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Thu Oct 13 22:23:02 UTC 2022

Basic System Information:
---------------------------------
Uptime     : 1 days, 1 hours, 15 minutes
Processor  : Intel(R) Xeon(R) CPU E31220 @ 3.10GHz
CPU cores  : 4 @ 1607.358 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM        : 7.8 GiB
Swap       : 1.0 GiB
Disk       : 914.3 GiB
Distro     : Ubuntu 18.04.6 LTS
Kernel     : 4.15.0-194-generic

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 912.00 KB/s    (228) | 12.86 MB/s     (200)
Write      | 951.00 KB/s    (237) | 13.49 MB/s     (210)
Total      | 1.86 MB/s      (465) | 26.35 MB/s     (410)
           |                      |
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 53.07 MB/s     (103) | 60.58 MB/s      (59)
Write      | 56.12 MB/s     (109) | 64.90 MB/s      (63)
Total      | 109.19 MB/s    (212) | 125.49 MB/s    (122)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 939 Mbits/sec   | 938 Mbits/sec
Online.net      | Paris, FR (10G)           | 941 Mbits/sec   | 942 Mbits/sec
Hybula          | The Netherlands (40G)     | 937 Mbits/sec   | 936 Mbits/sec
Uztelecom       | Tashkent, UZ (10G)        | 887 Mbits/sec   | 315 Mbits/sec
Clouvider       | NYC, NY, US (10G)         | 896 Mbits/sec   | 282 Mbits/sec
Clouvider       | Dallas, TX, US (10G)      | 868 Mbits/sec   | 131 Mbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 849 Mbits/sec   | 273 Mbits/sec

Geekbench 5 Benchmark Test:
---------------------------------
Test            | Value
                |
Single Core     | 741
Multi Core      | 2216
Full Test       | https://browser.geekbench.com/v5/cpu/17935609

Disk performance Contabo, OVH Dedicated server and Ionos. And E1220 1TB Online Dedicated server

This is a short post, only test results, fast one.

contabo: 8gb ram, 4 cores, 200 GB ssd

I used 4096 or 4GB file create because it has 8GB of ram, so I can test memory buffering more precisely.

root@me:/home/bench# dd if=/dev/zero of=diskbench bs=1M count=4096 conv= fdatasync
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 36.8991 s, 116 MB/s
root@me:/home/bench# dd if=/dev/zero of=diskbench bs=1M count=4096 conv=fdatasync
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 37.8602 s, 113 MB/s
root@vmi1020354:/home/bench# dd if=/dev/zero of=diskbench bs=1M count=4096 conv=fdatasync
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 36.8998 s, 116 MB/s
root@me:/home/bench# echo 3 | sudo tee /proc/sys/vm/drop_caches
3
root@me:/home/bench# dd if=diskbench of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 7.10167 s, 605 MB/s
root@me:/home/bench# dd if=diskbench of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 2.89055 s, 1.5 GB/s
root@me:/home/bench# dd if=diskbench of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.739187 s, 5.8 GB/s
root@vmi1020354:/home/bench# dd if=diskbench of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.96881 s, 4.4 GB/s
root@me:/home/bench# dd if=diskbench of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.616968 s, 7.0 GB/s
root@me:/home/bench# dd if=diskbench of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.839934 s, 5.1 GB/s
root@me:/home/bench# dd if=/dev/zero bs=1M count=4096 | md5sum
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 10.3883 s, 413 MB/s
c9a5a6878d97b48cc965c1e41859f034 –
root@me:/home/bench# dd if=/dev/zero bs=1M count=4096 | md5sum
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 10.7808 s, 398 MB/s
c9a5a6878d97b48cc965c1e41859f034 –
root@me:/home/bench# dd if=/dev/zero bs=1M count=4096 | md5sum
4096+0 records in
4096+0 records out
c9a5a6878d97b48cc965c1e41859f034 –
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 10.6421 s, 404 MB/s

Next one is IONOS, $15 vps, 2 cores, 4gb ram, 120GB ssd

root@f937fdc:/home/bench# dd if=/dev/zero of=diskbench bs=1M count=2048 conv=fda tasync
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 2.23139 s, 962 MB/s
root@f937fdc:/home/bench# dd if=/dev/zero of=diskbench bs=1M count=2048 conv=fdatasync
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 1.89381 s, 1.1 GB/s
root@f937fdc:/home/bench# dd if=/dev/zero of=diskbench bs=1M count=2048 conv=fdatasync
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 1.89822 s, 1.1 GB/s
root@f937fdc:/home/bench# echo 3 | sudo tee /proc/sys/vm/drop_caches
3
root@f937fdc:/home/bench# dd if=diskbench of=/dev/null bs=1M count=2048
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 3.07949 s, 697 MB/s
root@f937fdc:/home/bench# dd if=diskbench of=/dev/null bs=1M count=2048
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 0.468549 s, 4.6 GB/s
root@f937fdc:/home/bench# dd if=diskbench of=/dev/null bs=1M count=2048
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 0.40429 s, 5.3 GB/s
root@f937fdc:/home/bench# dd if=diskbench of=/dev/null bs=1M count=2048
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 0.405475 s, 5.3 GB/s
root@f937fdc:/home/bench# dd if=/dev/zero bs=1M count=2048 | md5sum
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 5.34457 s, 402 MB/s
a981130cf2b7e09f4686dc273cf7187e –
root@f937fdc:/home/bench# dd if=/dev/zero bs=1M count=2048 | md5sum
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 5.2883 s, 406 MB/s
a981130cf2b7e09f4686dc273cf7187e –
root@f937fdc:/home/bench# dd if=/dev/zero bs=1M count=2048 | md5sum
2048+0 records in
2048+0 records out
a981130cf2b7e09f4686dc273cf7187e –
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 5.21028 s, 412 MB/s
root@f937fdc:/home/bench#

Last one is OVH dedicated server, 1245v2, 32GB ram, 480 SSD, RAID 1 setup

root@silverstar:/home/bench# dirdd if=/dev/zero of=diskbench bs=1M count=10240 c onv=fdatasync
dirdd: command not found
root@silverstar:/home/bench# dd if=/dev/zero of=diskbench bs=1M count=10240 conv =fdatasync
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 26.3269 s, 408 MB/s
root@silverstar:/home/bench# dd if=/dev/zero of=diskbench bs=1M count=10240 conv=fdatasync
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 24.3969 s, 440 MB/s
root@silverstar:/home/bench# dd if=/dev/zero of=diskbench bs=1M count=10240 conv=fdatasync
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 26.0974 s, 411 MB/s
root@silverstar:/home/bench# echo 3 | sudo tee /proc/sys/vm/drop_caches
3

root@silverstar:/home/bench# dd if=diskbench of=/dev/null bs=1M count=10240
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 25.6331 s, 419 MB/s
root@silverstar:/home/bench# dd if=diskbench of=/dev/null bs=1M count=10240
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 1.55243 s, 6.9 GB/s
root@silverstar:/home/bench# dd if=diskbench of=/dev/null bs=1M count=10240
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 1.29956 s, 8.3 GB/s
root@silverstar:/home/bench# dd if=diskbench of=/dev/null bs=1M count=10240
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 1.29845 s, 8.3 GB/s
root@silverstar:/home/bench# dd if=/dev/zero bs=1M count=10240 | md5sum
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 17.0449 s, 630 MB/s
2dd26c4d4799ebd29fa31e48d49e8e53 –
root@silverstar:/home/bench# dd if=/dev/zero bs=1M count=10240 | md5sum
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 17.0233 s, 631 MB/s
2dd26c4d4799ebd29fa31e48d49e8e53 –
root@silverstar:/home/bench# dd if=/dev/zero bs=1M count=10240 | md5sum
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 17.0109 s, 631 MB/s
2dd26c4d4799ebd29fa31e48d49e8e53 –

Hetzner cloud server


root@ubuntu-4gb-fsn1-1:~# rm -rf disk*
root@ubuntu-4gb-fsn1-1:~# dd if=/dev/zero of=diskbench bs=1M count=10240 conv=fdatasync
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 9.36998 s, 1.1 GB/s
root@ubuntu-4gb-fsn1-1:~# dd if=/dev/zero of=diskbench bs=1M count=10240 conv=fdatasync
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 8.70534 s, 1.2 GB/s
root@ubuntu-4gb-fsn1-1:~# echo 3 | sudo tee /proc/sys/vm/drop_caches
3
root@ubuntu-4gb-fsn1-1:~# dd if=diskbench of=/dev/null bs=1M count=10240
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 7.81015 s, 1.4 GB/s
root@ubuntu-4gb-fsn1-1:~# dd if=diskbench of=/dev/null bs=1M count=10240
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 1.68179 s, 6.4 GB/s
root@ubuntu-4gb-fsn1-1:~# dd if=diskbench of=/dev/null bs=1M count=10240
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 1.11667 s, 9.6 GB/s
root@ubuntu-4gb-fsn1-1:~# dd if=diskbench of=/dev/null bs=1M count=10240
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 1.08877 s, 9.9 GB/s
root@ubuntu-4gb-fsn1-1:~# dd if=diskbench of=/dev/null bs=1M count=10240
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 1.08987 s, 9.9 GB/s
root@ubuntu-4gb-fsn1-1:~# dd if=/dev/zero bs=1M count=10240 | md5sum
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 21.989 s, 488 MB/s
2dd26c4d4799ebd29fa31e48d49e8e53 –
root@ubuntu-4gb-fsn1-1:~# dd if=/dev/zero bs=1M count=10240 | md5sum
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 22.2566 s, 482 MB/s
2dd26c4d4799ebd29fa31e48d49e8e53 –
root@ubuntu-4gb-fsn1-1:~#

Online E1220, 1TB, 8GB HDD

root@paris:~# dd if=/dev/zero of=diskbench bs=1M count=4096 conv=fdatasync
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 44.5346 s, 96.4 MB/s
root@paris:~# dd if=/dev/zero of=diskbench bs=1M count=4096 conv=fdatasync
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 42.4509 s, 101 MB/s
root@paris:~# dd if=/dev/zero of=diskbench bs=1M count=4096 conv=fdatasync
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 45.4053 s, 94.6 MB/s
root@paris:~# echo 3 | sudo tee /proc/sys/vm/drop_caches
3
root@paris:~# dd if=diskbench of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 50.3786 s, 85.3 MB/s
root@paris:~# dd if=diskbench of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.687469 s, 6.2 GB/s
root@paris:~# dd if=diskbench of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.596215 s, 7.2 GB/s
root@paris:~# dd if=diskbench of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.59084 s, 7.3 GB/s
root@paris:~# dd if=diskbench of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.590991 s, 7.3 GB/s
root@paris:~# dd if=/dev/zero bs=1M count=4096 | md5sum
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 8.73082 s, 492 MB/s
c9a5a6878d97b48cc965c1e41859f034 –
root@paris:~# dd if=/dev/zero bs=1M count=4096 | md5sum
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 8.07252 s, 532 MB/s
c9a5a6878d97b48cc965c1e41859f034 –
root@paris:~# dd if=/dev/zero bs=1M count=4096 | md5sum
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 8.06932 s, 532 MB/s
c9a5a6878d97b48cc965c1e41859f034 –

HestiaCP

Every time I make changes to this panel, like open basedir in apache or PHPFPM, I need to rebuild web profile from admin panel. This is essential or it will not work.

Linux screen

About linux screen program. Really nice to have it but usually when I find some article about using some linux software, there are always some missing pieces and then I have to search google again and again and that’s not good.

Type:

screen -> it opens up new screen window and you are in it

ctrl +a is for switching windows

ctrl+a c is for creating new screen window

Now to close it (detach) use:

ctrl+a d

To list all current screens:

screen -ls

To reattach to it use:

screen -r (number)

To close it use:

screen -XS (number) quit

Here are references:

https://linuxize.com/post/how-to-use-linux-screen/

https://askubuntu.com/questions/356006/kill-a-screen-session

Server benchmark testing

Here it goes. Some VPS and some dedicated. This is for my reference.


Hetzner 2TB HDD CPU i7-4770 32GB RAM

Tue Nov 23 06:40:55 CET 2021

Basic System Information:

Processor : Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
CPU cores : 8 @ 1798.701 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 31.3 GiB
Swap : 18.0 GiB
Disk : 1.8 TiB

fio Disk Speed Tests (Mixed R/W 50/50):

Block Size4k (IOPS)64k (IOPS)
Read1.00 MB/s (251)14.56 MB/s (227)
Write1.03 MB/s (258)15.08 MB/s (235)
Total2.03 MB/s (509)29.64 MB/s (462)
Block Size512k (IOPS)1m (IOPS)
——— —-—- —-
Read49.39 MB/s (96)64.87 MB/s (63)
Write52.31 MB/s (102)69.26 MB/s (67)
Total101.71 MB/s (198)134.13 MB/s (130)

iperf3 Network Speed Tests (IPv4):

Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 930 Mbits/sec | 850 Mbits/sec
Performing IPv4 iperf3 recv test from Online.net (Attempt #1 of 5)…fio Disk SpOnline.net | Paris, FR (10G) | 935 Mbits/sec | 863 Mbits/sec
WorldStream | The Netherlands (10G) | 932 Mbits/sec | 880 Mbits/sec
WebHorizon | Singapore (1G) | 555 Mbits/sec | 372 Mbits/sec
Clouvider | NYC, NY, US (10G) | 884 Mbits/sec | 281 Mbits/sec
Velocity Online | Tallahassee, FL, US (10G) | 104 Mbits/sec | 457 Mbits/sec
Clouvider | Los Angeles, CA, US (10G) | 839 Mbits/sec | 526 Mbits/sec
Iveloz Telecom | Sao Paulo, BR (2G) | 759 Mbits/sec | 147 Mbits/sec

iperf3 Network Speed Tests (IPv6):

Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 917 Mbits/sec | 803 Mbits/sec
Online.net | Paris, FR (10G) | 922 Mbits/sec | 826 Mbits/sec
WorldStream | The Netherlands (10G) | 919 Mbits/sec | 832 Mbits/sec
WebHorizon | Singapore (1G) | 312 Mbits/sec | 457 Mbits/sec
Clouvider | NYC, NY, US (10G) | 879 Mbits/sec | 383 Mbits/sec
Clouvider | Los Angeles, CA, US (10G) | 827 Mbits/sec | 251 Mbits/sec

Geekbench 5 Benchmark Test:

Test | Value
|
Single Core | 970
Multi Core | 3541
Full Test | https://browser.geekbench.com/v5/cpu/11149448


Hetzner 512 nvme

root@server5 ~ # curl -sL yabs.sh | bash -s — -r9

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

Yet-Another-Bench-Script

v2021-10-09

https://github.com/masonr/yet-another-bench-script

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

Sat 16 Oct 2021 10:09:57 AM CEST

Basic System Information:

Processor : Intel(R) Xeon(R) CPU E3-1275 v5 @ 3.60GHz
CPU cores : 8 @ 900.033 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 62.6 GiB
Swap : 32.0 GiB
Disk : 436.7 GiB

fio Disk Speed Tests (Mixed R/W 50/50):

Block Size4k (IOPS)64k (IOPS)
Read634.85 MB/s (158.7k)1.20 GB/s (18.7k)
Write636.53 MB/s (159.1k)1.20 GB/s (18.8k)
Total1.27 GB/s (317.8k)2.40 GB/s (37.5k)
Block Size512k (IOPS)1m (IOPS)
——— —-—- —-
Read1.24 GB/s (2.4k)1.29 GB/s (1.2k)
Write1.31 GB/s (2.5k)1.37 GB/s (1.3k)
Total2.55 GB/s (4.9k)2.66 GB/s (2.6k)

iperf3 Network Speed Tests (IPv4):

Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 913 Mbits/sec | 933 Mbits/sec
Online.net | Paris, FR (10G) | 923 Mbits/sec | 937 Mbits/sec
Clouvider | NYC, NY, US (10G) | 875 Mbits/sec | 677 Mbits/sec

iperf3 Network Speed Tests (IPv6):

Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 901 Mbits/sec | 920 Mbits/sec
Online.net | Paris, FR (10G) | 911 Mbits/sec | 924 Mbits/sec
Clouvider | NYC, NY, US (10G) | 860 Mbits/sec | 517 Mbits/sec

Geekbench 4 Benchmark Test:

Test | Value
|
Single Core | 4855
Multi Core | 16877
Full Test | https://browser.geekbench.com/v4/cpu/16382066

Geekbench 5 Benchmark Test:

Test | Value
|
Single Core | 1093
Multi Core | 4204
Full Test | https://browser.geekbench.com/v5/cpu/10436961


Netcup cheapest root vps

root@v2:~# curl -sL yabs.sh | bash -s — -r9

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

Yet-Another-Bench-Script

v2021-10-09

https://github.com/masonr/yet-another-bench-script

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

Sat 16 Oct 2021 10:10:34 AM CEST

Basic System Information:

Processor : AMD EPYC 7702P 64-Core Processor
CPU cores : 2 @ 1996.247 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ❌ Disabled
RAM : 7.8 GiB
Swap : 2.0 GiB
Disk : 158.8 GiB

fio Disk Speed Tests (Mixed R/W 50/50):

Block Size4k (IOPS)64k (IOPS)
Read111.32 MB/s (27.8k)1.10 GB/s (17.2k)
Write111.62 MB/s (27.9k)1.10 GB/s (17.3k)
Total222.94 MB/s (55.7k)2.21 GB/s (34.5k)
Block Size512k (IOPS)1m (IOPS)
——— —-—- —-
Read1.53 GB/s (2.9k)1.58 GB/s (1.5k)
Write1.61 GB/s (3.1k)1.68 GB/s (1.6k)
Total3.14 GB/s (6.1k)3.26 GB/s (3.1k)

iperf3 Network Speed Tests (IPv4):

Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 1.53 Gbits/sec | 2.10 Gbits/sec
Online.net | Paris, FR (10G) | 1.70 Gbits/sec | 2.37 Gbits/sec
Clouvider | NYC, NY, US (10G) | 595 Mbits/sec | 1.27 Gbits/sec

iperf3 Network Speed Tests (IPv6):

Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 1.59 Gbits/sec | 2.33 Gbits/sec
Online.net | Paris, FR (10G) | 1.24 Gbits/sec | 2.26 Gbits/sec
Clouvider | NYC, NY, US (10G) | 676 Mbits/sec | 1.11 Gbits/sec

Geekbench 4 Benchmark Test:

Test | Value
|
Single Core | 4339
Multi Core | 7947
Full Test | https://browser.geekbench.com/v4/cpu/16382067

Geekbench 5 Benchmark Test:

Test | Value
|
Single Core | 938
Multi Core | 1718
Full Test | https://browser.geekbench.com/v5/cpu/10436966


Contabo cheapest vps

root@vmi418:~# curl -sL yabs.sh | bash -s — -r9

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

Yet-Another-Bench-Script

v2021-10-09

https://github.com/masonr/yet-another-bench-script

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

Sat Oct 16 10:10:54 CEST 2021

Basic System Information:

Processor : AMD EPYC 7282 16-Core Processor
CPU cores : 4 @ 2794.590 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ❌ Disabled
RAM : 7.8 GiB
Swap : 2.0 GiB
Disk : 195.8 GiB

fio Disk Speed Tests (Mixed R/W 50/50):

Block Size4k (IOPS)64k (IOPS)
Read5.30 MB/s (1.3k)64.13 MB/s (1.0k)
Write5.32 MB/s (1.3k)64.54 MB/s (1.0k)
Total10.62 MB/s (2.6k)128.68 MB/s (2.0k)
Block Size512k (IOPS)1m (IOPS)
——— —-—- —-
Read127.65 MB/s (249)98.41 MB/s (96)
Write134.43 MB/s (262)104.96 MB/s (102)
Total262.09 MB/s (511)203.37 MB/s (198)

iperf3 Network Speed Tests (IPv4):

Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 195 Mbits/sec | 198 Mbits/sec
Online.net | Paris, FR (10G) | 198 Mbits/sec | 199 Mbits/sec
Clouvider | NYC, NY, US (10G) | 190 Mbits/sec | 192 Mbits/sec

Geekbench 4 Benchmark Test:

Test | Value
|
Single Core | 3644
Multi Core | 10698
Full Test | https://browser.geekbench.com/v4/cpu/16382070

Geekbench 5 Benchmark Test:

Test | Value
|
Single Core | 760
Multi Core | 2508
Full Test | https://browser.geekbench.com/v5/cpu/10436982


Hetzner 256GB SSD 4770 cpu

root@Ubuntu-2004-focal-64-minimal ~ # curl -sL yabs.sh | bash -s — -r9

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

Yet-Another-Bench-Script

v2021-10-09

https://github.com/masonr/yet-another-bench-script

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

Sat 16 Oct 2021 10:11:16 AM CEST

Basic System Information:

Processor : Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
CPU cores : 8 @ 2546.148 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 31.2 GiB
Swap : 18.0 GiB
Disk : 217.8 GiB

fio Disk Speed Tests (Mixed R/W 50/50):

Block Size4k (IOPS)64k (IOPS)
Read130.51 MB/s (32.6k)153.05 MB/s (2.3k)
Write130.86 MB/s (32.7k)153.86 MB/s (2.4k)
Total261.37 MB/s (65.3k)306.91 MB/s (4.7k)
Block Size512k (IOPS)1m (IOPS)
——— —-—- —-
Read176.61 MB/s (344)189.90 MB/s (185)
Write185.99 MB/s (363)202.55 MB/s (197)
Total362.60 MB/s (707)392.46 MB/s (382)

iperf3 Network Speed Tests (IPv4):

Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 905 Mbits/sec | 933 Mbits/sec
Online.net | Paris, FR (10G) | 899 Mbits/sec | 938 Mbits/sec
Clouvider | NYC, NY, US (10G) | 872 Mbits/sec | 552 Mbits/sec

iperf3 Network Speed Tests (IPv6):

Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 916 Mbits/sec | 920 Mbits/sec
Online.net | Paris, FR (10G) | 921 Mbits/sec | 924 Mbits/sec
Clouvider | NYC, NY, US (10G) | 878 Mbits/sec | 483 Mbits/sec

Geekbench 4 Benchmark Test:

Test | Value
|
Single Core | 4801
Multi Core | 15912
Full Test | https://browser.geekbench.com/v4/cpu/16382071

Geekbench 5 Benchmark Test:

Test | Value
|
Single Core | 1057
Multi Core | 3927
Full Test | https://browser.geekbench.com/v5/cpu/10436988


Hetzner 480GB Datacenter Xeon dedicated

root@saturn ~ # curl -sL yabs.sh | bash -s — -r9

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

Yet-Another-Bench-Script

v2021-10-09

https://github.com/masonr/yet-another-bench-script

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

Sat 16 Oct 2021 10:11:46 AM CEST

Basic System Information:

Processor : Intel(R) Xeon(R) CPU E3-1275 v5 @ 3.60GHz
CPU cores : 8 @ 900.300 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 62.6 GiB
Swap : 32.0 GiB
Disk : 407.4 GiB

fio Disk Speed Tests (Mixed R/W 50/50):

Block Size4k (IOPS)64k (IOPS)
Read180.62 MB/s (45.1k)215.19 MB/s (3.3k)
Write181.10 MB/s (45.2k)216.32 MB/s (3.3k)
Total361.73 MB/s (90.4k)431.51 MB/s (6.7k)
Block Size512k (IOPS)1m (IOPS)
——— —-—- —-
Read226.78 MB/s (442)262.45 MB/s (256)
Write238.83 MB/s (466)279.93 MB/s (273)
Total465.61 MB/s (908)542.38 MB/s (529)

iperf3 Network Speed Tests (IPv4):

Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | busy | busy
Online.net | Paris, FR (10G) | busy | busy
Clouvider | NYC, NY, US (10G) | busy | busy

iperf3 Network Speed Tests (IPv6):

Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | busy | busy
Online.net | Paris, FR (10G) | busy | busy
Clouvider | NYC, NY, US (10G) | busy | busy

Geekbench 4 Benchmark Test:

Test | Value
|
Single Core | 4853
Multi Core | 16807
Full Test | https://browser.geekbench.com/v4/cpu/16382073

Geekbench 5 Benchmark Test:

Test | Value
|
Single Core | 1092
Multi Core | 4208
Full Test | https://browser.geekbench.com/v5/cpu/10437001