Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2019 19:52:44 +0200
From:      Bjarne Blichfeldt <bjb@c.dk>
To:        freebsd-xen@freebsd.org
Subject:   Re: Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer
Message-ID:  <e1be4645-7b18-9f63-f0d8-81d94a9c8170@c.dk>
In-Reply-To: <CAKwR994kQTRfB0R0_WiTYx4pgOHtR-ge7h0vP8NiM_%2B-MBPGGw@mail.gmail.com>
References:  <mailman.7.1560945600.15387.freebsd-xen@freebsd.org> <12994df1-f847-ec92-aae8-43a32e59385f@darco.dk> <CAKwR994kQTRfB0R0_WiTYx4pgOHtR-ge7h0vP8NiM_%2B-MBPGGw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
oh yes, sorry I am using:

0:~ # xl info
host                   : x0
release                : 4.12.14-lp150.12.64-default
version                : #1 SMP Mon Jun 17 16:53:50 UTC 2019 (3edfd41)
machine                : x86_64
nr_cpus                : 4
max_cpu_id             : 3
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 3192
hw_caps                : bfebfbff:77faf3bf:2c100800:00000021:00000001:000027ab:00000000:00000100
virt_caps              : hvm hvm_directio
total_memory           : 32461
free_memory            : 5319
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 10
xen_extra              : .3_04-lp150.2.1
xen_version            : 4.10.3_04-lp150.2.1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          :
xen_commandline        : dom0_mem=3072M,max:3072M
cc_compiler            : gcc (SUSE Linux) 7.4.0
cc_compile_by          : abuild
cc_compile_domain      : suse.de
cc_compile_date        : Thu May  9 16:10:08 UTC 2019
build_id               : bf77d035ff05eb55d9616e418f73cbcbd96f747b
xend_config_format     : 4


Since you peaked my interest, I tryed playing around a little.
Initially to day, the retransmits where between 4-15   retransmits. I then changed the network 
interface from hypervisor default to  E1000 (still xn0 in freebsd) and the retransmits jumped up to 
700 to 800!
After changing the network interface back to hypervisor default, the number of retranmits remains 
high in the 3-digit area.  Fooling around with mtu size did not change anything.
Something is not quite right.



On 6/24/19 10:24 PM, Christian M wrote:
> Thanks for your input Bjarne.
>
> Previously I tested with iperf2, but I have made som tests with iperf3 now
> also and noticed there are a lot of "Retr" (TCP retries) in some cases.
> Went back here to your post and saw that your results also showed a lot of
> retries in some cases. My new tests showed similar results to yours
> (although not nearly as hi throughput as you have). When Linux is client
> the retries are 0, with FreeBSD as client the number is > 0. I'm not sure
> if our numbers are considered high though, and something that actually is a
> problem? Although, on a internal network with no external factors like
> interference, I feel this should always be 0 no matter what?
>
> What hypervisor were you running in your tests? Version?
>
> Regards,
> Christian
>
>
> Den mån 24 juni 2019 kl 17:56 skrev Bjarne <bjb@darco.dk>:
>
>> Well, to add some datapoints,  I just did a quick test om my private
>> homeserver, testing with iperf3
>> -s  / iperf3 -c <server-ip>
>>
>> I have not much knowledge of iperf3 network test and it's validity, but
>> there is definitely some
>> differences to be seen.
>>
>> Summary:
>>
>> FBSD <-> FBSD   3,5Gbit/sec
>> FBSD -> Centos:  3GBit/Sec
>> Centos -> FBSD: 12 Gbit/sec
>> :snip
>>
>>
>>

-- 
mvh,
Bjarne



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e1be4645-7b18-9f63-f0d8-81d94a9c8170>