Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- kpti_off
- +++ kpti_on
- @@ -1,122 +1,122 @@
- -[KPTI=off]
- +[KPTI=on]
- root@turbo:~# dmesg |grep isolation
- -[ 0.000000] Kernel/User page tables isolation: disabled on command line.
- +[ 0.000000] Kernel/User page tables isolation: enabled
- root@turbo:~# dd if=/dev/zero of=/dev/null bs=1 count=100M
- 104857600+0 records in
- 104857600+0 records out
- -104857600 bytes (105 MB, 100 MiB) copied, 14.1098 s, 7.4 MB/s
- +104857600 bytes (105 MB, 100 MiB) copied, 36.855 s, 2.8 MB/s
- root@turbo:~# dd if=/dev/zero of=/dev/null bs=128k count=5M
- 5242880+0 records in
- 5242880+0 records out
- -687194767360 bytes (687 GB, 640 GiB) copied, 40.7162 s, 16.9 GB/s
- +687194767360 bytes (687 GB, 640 GiB) copied, 41.8109 s, 16.4 GB/s
- root@turbo:~# dd if=/dev/zero of=/dev/null bs=1M count=500K
- 512000+0 records in
- 512000+0 records out
- -536870912000 bytes (537 GB, 500 GiB) copied, 31.0583 s, 17.3 GB/s
- +536870912000 bytes (537 GB, 500 GiB) copied, 31.1779 s, 17.2 GB/s
- root@turbo:/tmp# wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.14.12.tar.xz
- root@turbo:/tmp# time unxz -d linux-4.14.12.tar.xz
- -real 0m4.815s
- -user 0m4.675s
- -sys 0m0.140s
- +real 0m4.827s
- +user 0m4.707s
- +sys 0m0.120s
- root@turbo:/tmp# time tar xf linux-4.14.12.tar
- -real 0m0.708s
- -user 0m0.080s
- -sys 0m0.624s
- +real 0m0.709s
- +user 0m0.061s
- +sys 0m0.646s
- root@turbo:/tmp# git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- root@turbo:/tmp/linux# git checkout v3.10
- root@turbo:/tmp/linux# time git checkout v4.14
- Previous HEAD position was 8bb495e3f024... Linux 3.10
- HEAD is now at bebc6082da0a... Linux 4.14
- -real 0m3.434s
- -user 0m2.774s
- -sys 0m0.684s
- +real 0m3.539s
- +user 0m2.755s
- +sys 0m0.815s
- root@turbo:/tmp/linux# make defconfig
- root@turbo:/tmp/linux# time make -sj8 >/dev/null
- -real 1m45.796s
- -user 12m26.418s
- -sys 0m46.242s
- +real 1m46.856s
- +user 12m29.209s
- +sys 0m48.770s
- root@turbo:~# ip netns add ns1
- root@turbo:~# ip netns add ns2
- root@turbo:~# ip -n ns1 link add name veth0 type veth peer name veth0 netns ns2
- root@turbo:~# ip -n ns1 link set veth0 up
- root@turbo:~# ip -n ns2 link set veth0 up
- root@turbo:~# ip netns exec ns1 ethtool -K veth0 tso off gso off gro off
- root@turbo:~# ip netns exec ns2 ethtool -K veth0 tso off gso off gro off
- root@turbo:~# ip -n ns1 addr add 192.0.2.1/24 dev veth0
- root@turbo:~# ip -n ns2 addr add 192.0.2.2/24 dev veth0
- root@turbo:~# ip netns exec ns1 iperf3 -sD
- root@turbo:~# ip netns exec ns2 iperf3 -c 192.0.2.1 -i10 -t60
- Connecting to host 192.0.2.1, port 5201
- [ 5] local 192.0.2.2 port 50316 connected to 192.0.2.1 port 5201
- [ ID] Interval Transfer Bitrate Retr Cwnd
- -[ 5] 0.00-10.00 sec 13.2 GBytes 11.4 Gbits/sec 0 136 KBytes
- -[ 5] 10.00-20.00 sec 13.3 GBytes 11.4 Gbits/sec 0 687 KBytes
- -[ 5] 20.00-30.00 sec 13.4 GBytes 11.6 Gbits/sec 0 687 KBytes
- -[ 5] 30.00-40.00 sec 13.4 GBytes 11.5 Gbits/sec 0 687 KBytes
- -[ 5] 40.00-50.00 sec 13.4 GBytes 11.5 Gbits/sec 0 687 KBytes
- -[ 5] 50.00-60.00 sec 13.3 GBytes 11.5 Gbits/sec 0 687 KBytes
- +[ 5] 0.00-10.00 sec 14.2 GBytes 12.2 Gbits/sec 0 39.6 KBytes
- +[ 5] 10.00-20.00 sec 13.9 GBytes 11.9 Gbits/sec 0 49.5 KBytes
- +[ 5] 20.00-30.00 sec 13.9 GBytes 11.9 Gbits/sec 0 79.2 KBytes
- +[ 5] 30.00-40.00 sec 14.0 GBytes 12.0 Gbits/sec 0 132 KBytes
- +[ 5] 40.00-50.00 sec 14.0 GBytes 12.0 Gbits/sec 0 214 KBytes
- +[ 5] 50.00-60.00 sec 13.9 GBytes 11.9 Gbits/sec 0 214 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - - -
- [ ID] Interval Transfer Bitrate Retr
- -[ 5] 0.00-60.00 sec 80.1 GBytes 11.5 Gbits/sec 0 sender
- -[ 5] 0.00-60.04 sec 80.1 GBytes 11.5 Gbits/sec receiver
- +[ 5] 0.00-60.00 sec 83.8 GBytes 12.0 Gbits/sec 0 sender
- +[ 5] 0.00-60.05 sec 83.8 GBytes 12.0 Gbits/sec receiver
- iperf Done.
- root@turbo:~# ip netns exec ns1 iperf3 -si10 &
- warning: this system does not seem to support IPv6 - trying IPv4
- -----------------------------------------------------------
- Server listening on 5201
- -----------------------------------------------------------
- -root@turbo:~# ip netns exec ns2 iperf3 -c 192.0.2.1 -i0 -t60 -u -b0 >/dev/null
- +root@turbo:~# ip netns exec ns2 iperf3 -c 192.0.2.1 -i0 -t60 -u -b 11G >/dev/null
- Accepted connection from 192.0.2.2, port 59200
- [ 5] local 192.0.2.1 port 5201 connected to 192.0.2.2 port 56672
- [ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
- -[ 5] 0.00-10.00 sec 17.0 GBytes 14.6 Gbits/sec 0.000 ms 1148580/13731238 (8.4%)
- -[ 5] 10.00-20.00 sec 17.0 GBytes 14.6 Gbits/sec 0.000 ms 1163382/13801085 (8.4%)
- -[ 5] 20.00-30.00 sec 17.1 GBytes 14.6 Gbits/sec 0.001 ms 1098782/13744006 (8%)
- -[ 5] 30.00-40.00 sec 17.0 GBytes 14.6 Gbits/sec 0.000 ms 1184930/13824114 (8.6%)
- -[ 5] 40.00-50.00 sec 17.0 GBytes 14.6 Gbits/sec 0.000 ms 1160758/13803048 (8.4%)
- -[ 5] 50.00-60.00 sec 17.1 GBytes 14.6 Gbits/sec 0.001 ms 1144378/13788594 (8.3%)
- -[ 5] 60.00-60.05 sec 83.8 MBytes 14.6 Gbits/sec 0.000 ms 5779/66497 (8.7%)
- +[ 5] 0.00-10.00 sec 12.9 GBytes 11.1 Gbits/sec 0.000 ms 2620961/12179738 (22%)
- +[ 5] 10.00-20.00 sec 13.0 GBytes 11.1 Gbits/sec 0.000 ms 2707014/12310347 (22%)
- +[ 5] 20.00-30.00 sec 12.9 GBytes 11.1 Gbits/sec 0.001 ms 2704859/12307486 (22%)
- +[ 5] 30.00-40.00 sec 13.0 GBytes 11.1 Gbits/sec 0.001 ms 2625964/12232410 (21%)
- +[ 5] 40.00-50.00 sec 13.0 GBytes 11.1 Gbits/sec 0.001 ms 2699978/12309513 (22%)
- +[ 5] 50.00-60.00 sec 12.9 GBytes 11.1 Gbits/sec 0.001 ms 2706823/12309588 (22%)
- +[ 5] 60.00-60.05 sec 65.4 MBytes 11.1 Gbits/sec 0.001 ms 13424/60776 (22%)
- - - - - - - - - - - - - - - - - - - - - - - - - -
- [ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
- -[ 5] 0.00-60.05 sec 102 GBytes 14.6 Gbits/sec 0.000 ms 6906589/82758582 (8.3%) receiver
- +[ 5] 0.00-60.05 sec 77.7 GBytes 11.1 Gbits/sec 0.001 ms 16079023/73709858 (22%) receiver
- iperf Done.
- root@turbo:~# ip netns exec ns2 iperf3 -c 192.0.2.1 -i0 -t60 -u -b0 -l64 >/dev/null
- Accepted connection from 192.0.2.2, port 60214
- [ 5] local 192.0.2.1 port 5201 connected to 192.0.2.2 port 45010
- [ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
- -[ 5] 0.00-10.00 sec 816 MBytes 685 Mbits/sec 0.000 ms 1302969/14672350 (8.9%)
- -[ 5] 10.00-20.00 sec 821 MBytes 689 Mbits/sec 0.001 ms 1297567/14748880 (8.8%)
- -[ 5] 20.00-30.00 sec 821 MBytes 689 Mbits/sec 0.000 ms 1283869/14737146 (8.7%)
- -[ 5] 30.00-40.00 sec 821 MBytes 688 Mbits/sec 0.000 ms 1248187/14693759 (8.5%)
- -[ 5] 40.00-50.00 sec 821 MBytes 688 Mbits/sec 0.000 ms 1314265/14757972 (8.9%)
- -[ 5] 50.00-60.00 sec 821 MBytes 688 Mbits/sec 0.001 ms 1328281/14771915 (9%)
- -[ 5] 60.00-60.05 sec 3.99 MBytes 689 Mbits/sec 0.000 ms 6409/71859 (8.9%)
- +[ 5] 0.00-10.00 sec 628 MBytes 527 Mbits/sec 0.001 ms 2664956/12956519 (21%)
- +[ 5] 10.00-20.00 sec 631 MBytes 530 Mbits/sec 0.000 ms 2688670/13034262 (21%)
- +[ 5] 20.00-30.00 sec 631 MBytes 530 Mbits/sec 0.001 ms 2692048/13037532 (21%)
- +[ 5] 30.00-40.00 sec 631 MBytes 530 Mbits/sec 0.000 ms 2639368/12983382 (20%)
- +[ 5] 40.00-50.00 sec 631 MBytes 530 Mbits/sec 0.001 ms 2688436/13033891 (21%)
- +[ 5] 50.00-60.00 sec 631 MBytes 530 Mbits/sec 0.000 ms 2674172/13019249 (21%)
- +[ 5] 60.00-60.05 sec 3.08 MBytes 530 Mbits/sec 0.000 ms 13060/63451 (21%)
- - - - - - - - - - - - - - - - - - - - - - - - - -
- [ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
- -[ 5] 0.00-60.05 sec 4.81 GBytes 688 Mbits/sec 0.000 ms 7781547/88453881 (8.8%) receiver
- +[ 5] 0.00-60.05 sec 3.70 GBytes 529 Mbits/sec 0.000 ms 16060710/78128286 (21%) receiver
- iperf3: the client has unexpectedly closed the connection
- -----------------------------------------------------------
- Server listening on 5201
- -----------------------------------------------------------
- root@turbo:~# speedtest-cli --server 4302
- Retrieving speedtest.net configuration...
- Testing from Vodafone Italia DSL (5.95.179.161)...
- Retrieving speedtest.net server list...
- Selecting best server based on ping...
- -Hosted by Vodafone IT (Milan) [0.17 km]: 3.838 ms
- +Hosted by Vodafone IT (Milan) [0.17 km]: 3.952 ms
- Testing download speed......................................................
- -Download: 855.93 Mbit/s
- +Download: 857.98 Mbit/s
- Testing upload speed........................................................
- -Upload: 186.53 Mbit/s
- +Upload: 183.09 Mbit/s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement