NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 5.1-amd64 fails to boot in QEMU



On 3 February 2012 15:38, Manuel Bouyer <bouyer%antioche.eu.org@localhost> 
wrote:
> On Fri, Feb 03, 2012 at 03:32:16PM +0000, Chavdar Ivanov wrote:
>> I read that , but am not sure how to switch the emulation to rtk in
>> XenServer 6.
>
> You don't change it in xenserver, you change it in NetBSD.
> We have 2 drivers for this device: re(4) and rtk(4).
> If both drivers are compiled in, re(4) is prefered.
> If you disable re(4) in kernel (either with boot -c, or
> by rebuilding a kernel), rtk(4) will be used instead.

Thanks, that is good. It seems to be working fine, although the
problem is that this driver is only 100baseTX; I am getting

----
xci@loan8 ~ % iperf -c 10.1.32.7
------------------------------------------------------------
Client connecting to 10.1.32.7, TCP port 5001
TCP window size: 32.5 KByte (default)
------------------------------------------------------------
[  3] local 10.1.32.165 port 61405 connected with 10.1.32.7 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   102 MBytes  85.6 Mbits/sec
<--------------------- rtk0 on NetBSD
xci@loan8 ~ % iperf -c 10.1.32.8
------------------------------------------------------------
Client connecting to 10.1.32.8, TCP port 5001
TCP window size: 32.5 KByte (default)
------------------------------------------------------------
[  3] local 10.1.32.165 port 61402 connected with 10.1.32.8 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   663 MBytes   556 Mbits/sec
         <------ xn on FreeBSD 9 (XENHVM)
iperf -c 10.1.32.8  0.04s user 7.66s system 76% cpu 10.073 total
xci@loan8 ~ % iperf -c 10.1.32.6
------------------------------------------------------------
Client connecting to 10.1.32.6, TCP port 5001
TCP window size: 32.5 KByte (default)
------------------------------------------------------------
[  3] local 10.1.32.165 port 61397 connected with 10.1.32.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   488 MBytes   408 Mbits/sec
        <----- xennet on NetBSD (XEN_DOMU, but with MULTIPROCESSOR).
iperf -c 10.1.32.6  0.03s user 6.12s system 60% cpu 10.097 total

----

(this is all on the same XenServer). It's fine for the edge, though -
I don't expect faster pipe for the moment...

>
> --
> Manuel Bouyer <bouyer%antioche.eu.org@localhost>
>     NetBSD: 26 ans d'experience feront toujours la difference
> --


Chavdar Ivanov
-- 
----


Home | Main Index | Thread Index | Old Index