I've decided to bite the bullet and solved the issue with task
threads and timeouts for now. There's a considerable increase
in performance, but more importantly, I can't DoS the system
anymore. I welcome independent tests, perfomance evaluations
and code review.
Cheers,
Mike
On Fri, Jul 29, 2016 at 20:41 +0200, Mike Belopuhov wrote:
> A number of TX-related issues have been fixed in -current.
> Please make sure that you're running -current with up-to-date
> source tree (sys/dev/pv/if_xnf is at revision 1.27 as of writing)
> and retest.
>
> I don't have a sensible fix for RX stalls at the moment short of
> of polling (be it a periodic timer or a thread wakeup).
>
> On 28 July 2016 at 13:49, Antonis Psaras <
psaras....@gmail.com> wrote:
>
> > I ‘ve done many updates in the past without any issue. I am not sure why I
> > have that problem on updating to snapshot.
> >
> >
> >
> > I will give it a try again.
> >
> >
> >
> > *From:* Mike Belopuhov [mailto:
mi...@belopuhov.com]
> > *Sent:* Thursday, July 28, 2016 1:28 PM
> >
> > *To:* Antonis Psaras <
psaras....@gmail.com>
> > *Cc:*
bu...@openbsd.org
> > *Subject:* Re: OpenBSD 5.9 on XenServer 6.5, Network unresponsive
> >
> >
> >
> > On 28 July 2016 at 11:18, Antonis Psaras <
psaras....@gmail.com> wrote:
> >
> > I tried that but I get the same message.
> >
> >
> >
> >
> >
> > Well, you need to understand how to upgrade OpenBSD if you're going to use
> > it.
> >
> >
> >
> >
> >
> > I also experience very slow i/o resulting to very low performance in
> > general
> >
> >
> >
> >
> >
> >
> >
> > Paravirtualized disk driver is not implemented yet.
> >
> >
> >
> > Would it be help full for you to give you access on the box?
> >
> >
> >
> >
> >
> > Definitely not.
> >
> >
> >
> > Regards
> >
> >
> >
> >
> >
> >
> >
> > *From:* Mike Belopuhov [mailto:
mi...@belopuhov.com]
> > *Sent:* Thursday, July 28, 2016 1:37 AM
> >
> >
> > *To:* Antonis Psaras <
psaras....@gmail.com>
> > *Cc:*
bu...@openbsd.org
> > *Subject:* Re: OpenBSD 5.9 on XenServer 6.5, Network unresponsive
> >
> >
> >
> > The path it's showing you in the installer says 'pub/OpenBSD/6.0/amd64'.
> >
> > You have to change that to 'pub/OpenBSD/snapshots/amd64'. Official
> >
> > release of 6.0 is expected September 1.
> >
> >
> >
> > On 27 July 2016 at 18:25, Antonis Psaras <
psaras....@gmail.com> wrote:
> >
> > I tried 2nd method using bsd.rd to update the system but I get an error
> > message stating that cannot find OpenBSD/amd64 6.0 sets.
> >
> >
> >
> > Path is correct, I crossed check that.
> >
> >
> >
> > When 6.0 is expected?
> >
> >
> >
> > Regards
> >
> >
> >
> >
> >
> > *From:* Mike Belopuhov [mailto:
mi...@belopuhov.com]
> > *Sent:* Wednesday, July 27, 2016 5:25 PM
> >
> >
> > *To:* Antonis Psaras <
psaras....@gmail.com>
> > *Cc:*
bu...@openbsd.org
> > *Subject:* Re: OpenBSD 5.9 on XenServer 6.5, Network unresponsive
> >
> >
> >
> > Antonis,
> >
> >
> >
> > You need to grab the files from 'snapshots/amd64' instead
> >
> > of the release directory, e.g. from here:
> >
> >
http://ftp.eu.openbsd.org/pub/OpenBSD/snapshots/amd64/
> >
> >
> >
> > And then either:
> >
> >
> >
> > 1) reinstall the system (i'd say it's easier to do that)
> >
> >
> >
> > 2) if you have access to the console, put new bsd.rd into /
> >
> > and then run "boot /bsd.rd" at the "boot>" prompt
> >
> >
> >
> > 3) live update your system like specified here:
> >
> >
http://www.openbsd.org/faq/upgrade59.html#NoInstKern
> >
> > (copy
bsd.mp kernel you've downloaded to / and then
> >
> > follow the "Install new userland" section). This is not
> >
> > advised however.
> >
> >
> >
> > After that you'll have to either build new kernel from
> >
> > the source code or I can send you a binary.
> >
> >
> >
> > On 27 July 2016 at 15:37, Antonis Psaras <
psaras....@gmail.com> wrote:
> >
> > Hello Mike
> >
> >
> >
> > Thank you for your quick response.
> >
> >
> >
> > The problem is totally random and probably has to do with traffic on the
> > interface. Never the less, the problem always produce the problem on xnf0
> > which is one of the Wan interfaces I have and never on xnf1 which is the
> > LAN interface or xnf2,3,4 which are also Wan interfaces. The installation I
> > have is a Wifi gateway. Wifi devices are connected on a wireless network
> > and get access to the internet via OpenBSD Box. Services that OpenBSD has
> > are ISC DHCP, NGINX, UNBOUND, SQUID etc.
> >
> >
> >
> > Bellow you can find the traffic graph for that period
> >
> >
> >
> >
> >
> > I can try any patch but please send me some more information on how to do
> > that.
> >
> >
> >
> > Regards