Re: VM in Xen 4.1; poor packet forwarding performance on xn0

2014-04-19 Thread Tiago Ribeiro


 Em 18/04/2014, às 11:57, seanr...@gmail.com seanr...@gmail.com escreveu:
 
 Hi there freebsd-xen,
 
 I tried first on freebsd-questions@ without success, so I thought to retry
 here.
 
 I run OpenVPN on a FreeBSD 10.0-Rp1 VM in Xen 4.1 (HVM). I am experiencing
 slow network performance on xn0 that seems to have developed after I
 upgraded to FreeBSD 10 (no other changes). I can only achieve about 0.5mbps
 through this interface when forwarding packets; packets in a single
 direction are fine (e.g; downloading to the VPS or pushing from the VPS)
 and clock in at many (10 usually) mbps.
 
 Interestingly, my identical VM (configuration managed centrally) running on
 Xen 3.4 (HVM) does *not* have this issue.
 
 I did a little debugging and here's what I've noticed:
   - Not related to OpenVPN, repro'd using ssh -d.
   - Slow VM has a very low rate of context switches (~250) while
 forwarding, fast VM has a lot more (~2000) sampled over 5 seconds using
 systat -v.
  - I can't repro a context switch limit (tried a limited fork() bomb).
  - Tried with *and* without LRO and TSO on xn0 (and all combinations of
 LRO and TSO on/off)
 
 I started digging into the Xen drivers but I realised I am not equipped to
 debug this. I'm looking for suggestions on what to check. My provider is
 offering to move me to an older Xen host but I'd like to see if I can help
 identify a bug either in my configuration or perhaps in FreeBSD's Xen code.
 
 Sean
 _


Do you use pf? 
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org

Re: Poor network performance

2014-04-04 Thread Tiago Ribeiro


Em 04/04/2014, às 10:55, Mark Felder f...@freebsd.org escreveu:

 
 On Apr 3, 2014, at 4:26, Egoitz Aurrekoetxea ego...@sarenet.es wrote:
 
 Hi Jay,
 
 Tso is a nic's feature. Nothing to do with packet filtering.
 
 
 There is a known bug with TSO and pf on Xen. There is an open PR -- kern/

It 's a big mistery for me, yesterday i install one freebsd10 with pf in one 
dom0 xenserver, and the performance is ok, and i don't disable TSO.

But one month ago, i install freebsd 10 in one dom0 debian 6.0 , and i have 
poor performance too, and disable or enable TSO do not make diference.

Sorry for my poor english.


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

Re: FBSD 10.0-S (r261289M) under XenServer 6.2 - Stuck sshd in urdlck?

2014-03-18 Thread Tiago Ribeiro


Em 18/03/2014, às 06:47, Karl Pielorz kpielorz_...@tdx.co.uk escreveu:

 
 --On 18 March 2014 09:44 +0100 Roger Pau Monné roger@citrix.com wrote:
 
 The output of vmstat -ai might also be helpful to assure that event
 timers are working correctly.
 
 Ok, that's at the bottom of this email.
 
 Also, does this VM have some
 PCI-passthrough? Did you migrate it? The xl configuration file used to
 create the domain would also be interesting.
 
 VM has no passthrough (this is a completely separate system to the one I was 
 doing the passthrough work on), and was created 'from new' - from Xen Center 
 I did VM, new VM
 
 I used the Other install media template with 2 vCPU's and 2048Mb of RAM - 
 and fed it the FreeBSD 10.0-R amd64 install ISO. Single GPT partition, ufs - 
 and a small (2Gb SWAP partition).
 
 Once the system was running I installed subversion then did a svn checkout of 
 'stable' source - rebuilt the world/kernel / installed the kernel/world - and 
 did the usual mergemaster updates.
 
 Also, could you try the same workload with a pristine GENERIC kernel?
 
 Ok - I'll leave this VM 'as-is' If I get time I'll setup two new VM's - a 
 stock 10.0-R with stock GENERIC, and another one using the r261289M source 
 from this machine, but stock GENERIC kernel (the only mods I'd made were the 
 'NO_ADAPTIVE_' changes as recommended by the xen man page).
 
 It may be a while before I know if sshd is going to get 'stuck' again - but 
 I'll keep an eye on them.
 
 -Karl
 

This problem seems to not be in virtualization, the FUG-BR are discussing this 
issue in SSH FreeBSD10.
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org

Re: Panic with FreeBSD 10 RC2 on Netbsd Xen dom0

2013-12-18 Thread Tiago Ribeiro

Em 17/12/2013, à(s) 22:16, Markus Pfeiffer markus.pfeif...@morphism.de 
escreveu:

 Dear all,
 
 I tried installing FreeBSD10-RC2 under Netbsd XEN dom0 (xen 4.2.0).
 Unfortunately when I try connecting to the guest with ssh, the machine panics.
 
 I managed to take a screenshot of the output at the time of the panic:
 
 http://imgur.com/MH8Z3Xz
 
 If needed I can probably upload the crashdump.
 
 Cheers,

I'm have  same problem

Dom0: NetBSD 6.0.1 - Xen 4.0.1
DomU: FreeBSD 10.0 RC2 - i386

Instalation of freebsd is from bootonly iso.

Some tests:

Domu console-ssh to localhost   -   Ok
DomU console-   svnlite co http://svn0.eu.freebsd.org/ports/head
-   NOK
DomU console-   ping www.google.com -   OK
any host-   ping to DomU-   OK
DomU console-   fetch 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/10.0-RC2/src.txz - OK
DomU console-   portsnap fetch  -   NOK



--
www.bsdjf.com.br




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


Re: FreeBSD PVHVM call for testing

2013-05-16 Thread Tiago Ribeiro
2013/5/16 Sergey Nasonov snaso...@bcc.ru

 Hello.

 I have get problem running XENHVM kernel.
 FreeBSD VM was created based on template Other install media
 Fetching from git and compilation was fine.



 Unfortunately I cant copy VM screen output from XenCenter console so write
 this by hand.


 run_interrupt_driven_hooks: still waiting after 60 seconds for
 xenbusb_nop_confighook_cb
 run_interrupt_driven_hooks: still waiting after 120 seconds for
 xenbusb_nop_confighook_cb
 run_interrupt_driven_hooks: still waiting after 180 seconds for
 xenbusb_nop_confighook_cb
 run_interrupt_driven_hooks: still waiting after 240 seconds for
 xenbusb_nop_confighook_cb
 run_interrupt_driven_hooks: still waiting after 300 seconds for
 xenbusb_nop_confighook_cb
 panic: run_interrupt_driven_config_hooks: waited too long
 cpuid = 0
 KDB: enter: panic
 [ thread pid 0 tid 10 ]
 Stopped atkdb_enter+0x3e: movq $0,kdb_why


You need remove CD/DVD from guest, i'm not remember the command
and the link with this commando, search for remove cd/dvd from guest
on xcp ou xenserver .

-- 
http://w http://shastybsd.blogspot.comww.bsdjf.com.br
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org