Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2023-06-29 Thread Stephen Hemminger
On Wed, 17 Mar 2021 21:25:26 +0100 Ilya Maximets wrote: > TL;DR; > Managing socket files is too much fun. :) And here is how this > could be improved: > https://github.com/igsilya/one-socket > https://github.com/igsilya/one-socket/blob/main/doc/socketpair-broker.rst > In particular

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-30 Thread Stefan Hajnoczi
On Thu, Mar 25, 2021 at 06:58:56PM +0100, Ilya Maximets wrote: > On 3/25/21 5:43 PM, Stefan Hajnoczi wrote: > > On Thu, Mar 25, 2021 at 12:00:11PM +0100, Ilya Maximets wrote: > >> On 3/25/21 10:35 AM, Stefan Hajnoczi wrote: > >>> On Wed, Mar 24, 2021 at 02:11:31PM +0100, Ilya Maximets wrote: >

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-25 Thread Ilya Maximets
On 3/25/21 5:43 PM, Stefan Hajnoczi wrote: > On Thu, Mar 25, 2021 at 12:00:11PM +0100, Ilya Maximets wrote: >> On 3/25/21 10:35 AM, Stefan Hajnoczi wrote: >>> On Wed, Mar 24, 2021 at 02:11:31PM +0100, Ilya Maximets wrote: On 3/24/21 1:05 PM, Stefan Hajnoczi wrote: > On Tue, Mar 23, 2021 at

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-25 Thread Stefan Hajnoczi
On Thu, Mar 25, 2021 at 12:00:11PM +0100, Ilya Maximets wrote: > On 3/25/21 10:35 AM, Stefan Hajnoczi wrote: > > On Wed, Mar 24, 2021 at 02:11:31PM +0100, Ilya Maximets wrote: > >> On 3/24/21 1:05 PM, Stefan Hajnoczi wrote: > >>> On Tue, Mar 23, 2021 at 04:54:57PM -0400, Billy McFall wrote: >

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-25 Thread Ilya Maximets
On 3/25/21 10:35 AM, Stefan Hajnoczi wrote: > On Wed, Mar 24, 2021 at 02:11:31PM +0100, Ilya Maximets wrote: >> On 3/24/21 1:05 PM, Stefan Hajnoczi wrote: >>> On Tue, Mar 23, 2021 at 04:54:57PM -0400, Billy McFall wrote: On Tue, Mar 23, 2021 at 3:52 PM Ilya Maximets wrote: > On 3/23/21 6:

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-25 Thread Stefan Hajnoczi
On Wed, Mar 24, 2021 at 02:11:31PM +0100, Ilya Maximets wrote: > On 3/24/21 1:05 PM, Stefan Hajnoczi wrote: > > On Tue, Mar 23, 2021 at 04:54:57PM -0400, Billy McFall wrote: > >> On Tue, Mar 23, 2021 at 3:52 PM Ilya Maximets wrote: > >>> On 3/23/21 6:57 PM, Adrian Moreno wrote: > On 3/19/21 6

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-24 Thread Ilya Maximets
On 3/24/21 10:51 PM, Maxime Coquelin wrote: > > > On 3/24/21 10:39 PM, Ilya Maximets wrote: >> On 3/24/21 9:56 PM, Maxime Coquelin wrote: >>> Hi Ilya, >>> >>> On 3/19/21 5:45 PM, Ilya Maximets wrote: On 3/19/21 5:11 PM, Ilya Maximets wrote: > On 3/19/21 3:39 PM, Stefan Hajnoczi wrote: >>

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-24 Thread Maxime Coquelin
On 3/24/21 10:39 PM, Ilya Maximets wrote: > On 3/24/21 9:56 PM, Maxime Coquelin wrote: >> Hi Ilya, >> >> On 3/19/21 5:45 PM, Ilya Maximets wrote: >>> On 3/19/21 5:11 PM, Ilya Maximets wrote: On 3/19/21 3:39 PM, Stefan Hajnoczi wrote: > Hi Ilya, > By the way, it's not clear to me why

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-24 Thread Ilya Maximets
On 3/24/21 9:56 PM, Maxime Coquelin wrote: > Hi Ilya, > > On 3/19/21 5:45 PM, Ilya Maximets wrote: >> On 3/19/21 5:11 PM, Ilya Maximets wrote: >>> On 3/19/21 3:39 PM, Stefan Hajnoczi wrote: Hi Ilya, By the way, it's not clear to me why dpdkvhostuser is deprecated. If OVS is restarte

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-24 Thread Maxime Coquelin
Hi Ilya, On 3/19/21 5:45 PM, Ilya Maximets wrote: > On 3/19/21 5:11 PM, Ilya Maximets wrote: >> On 3/19/21 3:39 PM, Stefan Hajnoczi wrote: >>> Hi Ilya, >>> By the way, it's not clear to me why dpdkvhostuser is deprecated. If OVS >>> is restarted then existing vhost-user connections drop with an er

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-24 Thread Stefan Hajnoczi
On Wed, Mar 24, 2021 at 02:11:31PM +0100, Ilya Maximets wrote: > On 3/24/21 1:05 PM, Stefan Hajnoczi wrote: > > On Tue, Mar 23, 2021 at 04:54:57PM -0400, Billy McFall wrote: > >> On Tue, Mar 23, 2021 at 3:52 PM Ilya Maximets wrote: > >> > >>> On 3/23/21 6:57 PM, Adrian Moreno wrote: > >

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-24 Thread Ilya Maximets
On 3/24/21 1:05 PM, Stefan Hajnoczi wrote: > On Tue, Mar 23, 2021 at 04:54:57PM -0400, Billy McFall wrote: >> On Tue, Mar 23, 2021 at 3:52 PM Ilya Maximets wrote: >> >>> On 3/23/21 6:57 PM, Adrian Moreno wrote: On 3/19/21 6:21 PM, Stefan Hajnoczi wrote: > On Fri, Mar 19, 2021 at

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-24 Thread Stefan Hajnoczi
On Tue, Mar 23, 2021 at 04:54:57PM -0400, Billy McFall wrote: > On Tue, Mar 23, 2021 at 3:52 PM Ilya Maximets wrote: > > > On 3/23/21 6:57 PM, Adrian Moreno wrote: > > > > > > > > > On 3/19/21 6:21 PM, Stefan Hajnoczi wrote: > > >> On Fri, Mar 19, 2021 at 04:29:21PM +0100, Ilya Maximets wrote: >

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-23 Thread Billy McFall
On Tue, Mar 23, 2021 at 3:52 PM Ilya Maximets wrote: > On 3/23/21 6:57 PM, Adrian Moreno wrote: > > > > > > On 3/19/21 6:21 PM, Stefan Hajnoczi wrote: > >> On Fri, Mar 19, 2021 at 04:29:21PM +0100, Ilya Maximets wrote: > >>> On 3/19/21 3:05 PM, Stefan Hajnoczi wrote: > On Thu, Mar 18, 2021 a

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-23 Thread Ilya Maximets
On 3/23/21 6:57 PM, Adrian Moreno wrote: > > > On 3/19/21 6:21 PM, Stefan Hajnoczi wrote: >> On Fri, Mar 19, 2021 at 04:29:21PM +0100, Ilya Maximets wrote: >>> On 3/19/21 3:05 PM, Stefan Hajnoczi wrote: On Thu, Mar 18, 2021 at 08:47:12PM +0100, Ilya Maximets wrote: > On 3/18/21 6:52 PM,

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-23 Thread Adrian Moreno
On 3/19/21 6:21 PM, Stefan Hajnoczi wrote: > On Fri, Mar 19, 2021 at 04:29:21PM +0100, Ilya Maximets wrote: >> On 3/19/21 3:05 PM, Stefan Hajnoczi wrote: >>> On Thu, Mar 18, 2021 at 08:47:12PM +0100, Ilya Maximets wrote: On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: > On Wed, Mar 17, 2021

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Stefan Hajnoczi
On Fri, Mar 19, 2021 at 04:29:21PM +0100, Ilya Maximets wrote: > On 3/19/21 3:05 PM, Stefan Hajnoczi wrote: > > On Thu, Mar 18, 2021 at 08:47:12PM +0100, Ilya Maximets wrote: > >> On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: > >>> On Wed, Mar 17, 2021 at 09:25:26PM +0100, Ilya Maximets wrote: >

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Ilya Maximets
On 3/19/21 5:11 PM, Ilya Maximets wrote: > On 3/19/21 3:39 PM, Stefan Hajnoczi wrote: >> Hi Ilya, >> By the way, it's not clear to me why dpdkvhostuser is deprecated. If OVS >> is restarted then existing vhost-user connections drop with an error but >> QEMU could attempt to reconnect to the UNIX do

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Ilya Maximets
On 3/19/21 3:39 PM, Stefan Hajnoczi wrote: > Hi Ilya, > By the way, it's not clear to me why dpdkvhostuser is deprecated. If OVS > is restarted then existing vhost-user connections drop with an error but > QEMU could attempt to reconnect to the UNIX domain socket which the new > OVS instance will s

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Marc-André Lureau
Hi On Fri, Mar 19, 2021 at 7:37 PM Ilya Maximets wrote: > On 3/19/21 3:16 PM, Stefan Hajnoczi wrote: > > On Thu, Mar 18, 2021 at 09:14:27PM +0100, Ilya Maximets wrote: > >> On 3/18/21 8:47 PM, Ilya Maximets wrote: > >>> On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: > On Wed, Mar 17, 2021 at 09

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Stefan Hajnoczi
On Fri, Mar 19, 2021 at 04:37:01PM +0100, Ilya Maximets wrote: > On 3/19/21 3:16 PM, Stefan Hajnoczi wrote: > > On Thu, Mar 18, 2021 at 09:14:27PM +0100, Ilya Maximets wrote: > >> On 3/18/21 8:47 PM, Ilya Maximets wrote: > >>> On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: > On Wed, Mar 17, 2021 a

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Ilya Maximets
On 3/19/21 3:16 PM, Stefan Hajnoczi wrote: > On Thu, Mar 18, 2021 at 09:14:27PM +0100, Ilya Maximets wrote: >> On 3/18/21 8:47 PM, Ilya Maximets wrote: >>> On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: On Wed, Mar 17, 2021 at 09:25:26PM +0100, Ilya Maximets wrote: BTW what is the security mo

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Ilya Maximets
On 3/19/21 3:05 PM, Stefan Hajnoczi wrote: > On Thu, Mar 18, 2021 at 08:47:12PM +0100, Ilya Maximets wrote: >> On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: >>> On Wed, Mar 17, 2021 at 09:25:26PM +0100, Ilya Maximets wrote: And some housekeeping usually required for applications in case the

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Stefan Hajnoczi
Hi Ilya, By the way, it's not clear to me why dpdkvhostuser is deprecated. If OVS is restarted then existing vhost-user connections drop with an error but QEMU could attempt to reconnect to the UNIX domain socket which the new OVS instance will set up. Why is it impossible to reconnect when OVS ow

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Stefan Hajnoczi
On Thu, Mar 18, 2021 at 09:14:27PM +0100, Ilya Maximets wrote: > On 3/18/21 8:47 PM, Ilya Maximets wrote: > > On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: > >> On Wed, Mar 17, 2021 at 09:25:26PM +0100, Ilya Maximets wrote: > >> BTW what is the security model of the broker? Unlike pathname UNIX > >> d

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Stefan Hajnoczi
On Thu, Mar 18, 2021 at 08:47:12PM +0100, Ilya Maximets wrote: > On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: > > On Wed, Mar 17, 2021 at 09:25:26PM +0100, Ilya Maximets wrote: > >> And some housekeeping usually required for applications in case the > >> socket server terminated abnormally and socket

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Ilya Maximets
On 3/19/21 9:51 AM, Marc-André Lureau wrote: > Hi > > On Thu, Mar 18, 2021 at 11:47 PM Ilya Maximets > wrote: > > On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: > > On Wed, Mar 17, 2021 at 09:25:26PM +0100, Ilya Maximets wrote: > > Hi, > > Some questions to

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-19 Thread Marc-André Lureau
Hi On Thu, Mar 18, 2021 at 11:47 PM Ilya Maximets wrote: > On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: > > On Wed, Mar 17, 2021 at 09:25:26PM +0100, Ilya Maximets wrote: > > Hi, > > Some questions to understand the problems that SocketPair Broker solves: > > > >> Even more configuration tricks re

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-18 Thread Ilya Maximets
On 3/18/21 8:47 PM, Ilya Maximets wrote: > On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: >> On Wed, Mar 17, 2021 at 09:25:26PM +0100, Ilya Maximets wrote: >> Hi, >> Some questions to understand the problems that SocketPair Broker solves: >> >>> Even more configuration tricks required in order to share

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-18 Thread Ilya Maximets
On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: > On Wed, Mar 17, 2021 at 09:25:26PM +0100, Ilya Maximets wrote: > Hi, > Some questions to understand the problems that SocketPair Broker solves: > >> Even more configuration tricks required in order to share some sockets >> between different containers a

Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-18 Thread Stefan Hajnoczi
On Wed, Mar 17, 2021 at 09:25:26PM +0100, Ilya Maximets wrote: Hi, Some questions to understand the problems that SocketPair Broker solves: > Even more configuration tricks required in order to share some sockets > between different containers and not only with the host, e.g. to > create service c

[dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user.

2021-03-17 Thread Ilya Maximets
TL;DR; Managing socket files is too much fun. :) And here is how this could be improved: https://github.com/igsilya/one-socket https://github.com/igsilya/one-socket/blob/main/doc/socketpair-broker.rst In particular for vhost-user case. In modern virtualization setups there are tens