mergemaster

2014-07-10 Thread Warren Block
On a jail created with ezjail on 10-STABLE, mergemaster is not actually 
ignoring files set with IGNORE_FILES in the jail's /etc/mergemaster.rc.


For example:

  /usr/jails/whatsit/etc/mergemaster.rc
IGNORE_FILES=/boot/device.hints


From the host:

  # cd /usr/src ; mergemaster -U -D /usr/jails/whatsit
  ...
*** There is no installed version of ./boot/device.hints

Use 'd' to delete the temporary ./boot/device.hints
Use 'i' to install the temporary ./boot/device.hints

Default is to leave the temporary file to deal with by hand

  How should I deal with this? [Leave it for later]

Using IGNORE_FILES=/usr/jails/whatsit/boot/device.hints in the jail 
does not work either.  Nor does setting that value in the host's 
/etc/mergemaster.rc.


Is this a problem with mergemaster or the jail setup?  From a user 
standpoint, I would hope that mergemaster would read /etc/mergemaster.rc 
from the -D directory and use those values rather than the host's 
/etc/mergemaster.rc.  Maybe it does that, but I'm doing it wrong.

___
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org


VNET performance

2014-07-10 Thread Clint Armstrong
What is the expected network performance of a VNET jail for network
communication between the jail and the host, or between multiple jails? I
expected it to approach the 10Gbps of the epair device, but I'm not seeing
that.

I see between 800 - 1200 Mbps in standard iperf tests both between the host
bridge interface and the vnet jail inteface. I see the same poor speeds if
I make 2 vnet jails and put one side of the epair in each and test between
them.

Is the overhead of vnet causing this? Is there anything I can do to improve
this performance.

I've tested and seen similar performance on 10.0-RELEASE and 11.0-CURRENT.
___
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org


Re: VNET performance

2014-07-10 Thread Bjoern A. Zeeb

On 10 Jul 2014, at 20:45 , Clint Armstrong cl...@clintarmstrong.net wrote:

 What is the expected network performance of a VNET jail for network
 communication between the jail and the host, or between multiple jails? I
 expected it to approach the 10Gbps of the epair device, but I'm not seeing
 that.
 
 I see between 800 - 1200 Mbps in standard iperf tests both between the host
 bridge interface and the vnet jail inteface. I see the same poor speeds if
 I make 2 vnet jails and put one side of the epair in each and test between
 them.
 
 Is the overhead of vnet causing this? Is there anything I can do to improve
 this performance.
 
 I’ve tested and seen similar performance on 10.0-RELEASE and 11.0-CURRENT.

epair has a netisr queuing in between as you cannot call the input routines 
directly from the output routines.  I was able to get a bit more traffic 
through by doing pinning games.

I wonder what a vale switch for vnets could achieve.

— 
Bjoern A. Zeeb Come on. Learn, goddamn it., WarGames, 1983

___
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org