Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2024 21:20:03 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        void <void@f-m.fm>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: polling interval
Message-ID:  <20241015212003.888c87d24bf6ec6dfc3fc549@dec.sakura.ne.jp>
In-Reply-To: <Zw5DI8zBIXLSAX88@vm2>
References:  <Zw0Ez-zyTg9oodi8@int21h> <20241015000117.8a731ab66a1af876879f5ca8@dec.sakura.ne.jp> <Zw1WKr6uVYiHEPi0@int21h> <9513c9d9-8f7c-4842-a535-b387082e4e3e@sentex.net> <Zw2xTp3RH5fhlBib@int21h> <20241015174135.14866b319a49ddafeca6e3bb@dec.sakura.ne.jp> <Zw5DI8zBIXLSAX88@vm2>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Oct 2024 11:25:39 +0100
void <void@f-m.fm> wrote:

> On Tue, Oct 15, 2024 at 05:41:35PM +0900, Tomoaki AOKI wrote:
> 
> >FYI, I'm configuring kern.hz=4096 in /boot/loader.conf. Lost where I've
> >seen, but recommended by somewhere.
> 
> all offloading at source, host and destination turned off, default kern.hz in vm
> ================================================================================
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-60.06  sec  4.46 GBytes   637 Mbits/sec  1326             sender
> [  5]   0.00-60.07  sec  4.45 GBytes   637 Mbits/sec                  receiver
> 
> same as above, but with kern.hz=8
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-60.02  sec  4.45 GBytes   637 Mbits/sec  1148             sender
> [  5]   0.00-60.02  sec  4.45 GBytes   637 Mbits/sec                  receiver
> 
> as above, kern.hz=4096
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-60.07  sec  3.09 GBytes   441 Mbits/sec  1013             sender
> [  5]   0.00-60.07  sec  3.09 GBytes   441 Mbits/sec                  receiver
> 
> With all offloading turned off, not seeing incorrect checksums at the
> destination now.
> -- 

Maybe kern.hz=4096 would be too large (short time per tick) for your
VMs, as VMs basically need more time than bare metal for emulated
(virtualized) syscalls or some instructions by mature.

And possibly (as I don't use offloading on VirtualBox that is the only
VM I tried) interactions between host (emulated hardware) and guests
about offloading has some issues.

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20241015212003.888c87d24bf6ec6dfc3fc549>