Displaying 4 results from an estimated 4 matches for "vddk_item".
Did you mean:
add_item
2020 Aug 05
2
Re: More parallelism in VDDK driver (was: Re: CFME-5.11.7.3 Perf. Tests)
On Wed, Aug 05, 2020 at 02:39:44PM +0300, Nir Soffer wrote:
> Can we use something like the file plugin? thread pool of workers,
> each keeping open vddk handle, and serving requests in parallel from
> the same nbd socket?
Yes, but this isn't implemented in the plugins, it's implemented in
the server. The server always uses a thread pool, but plugins can opt
for more or less
2020 Aug 05
2
Re: More parallelism in VDDK driver (was: Re: CFME-5.11.7.3 Perf. Tests)
...iple parallel requests can happen to different handles.
> but it sounds to me like we need PARALLEL.
>
> With parallel we will have multiple threads using the same
> vddk_handle, which can
> be thread safe since we control this struct.
>
> The struct can be:
>
> struct vddk_item {
> VixDiskLibConnectParams *params; /* connection parameters */
> VixDiskLibConnection connection; /* connection */
> VixDiskLibHandle handle; /* disk handle */
> struct vddk_item *next; /* next handle in the list */
> }
>
> struct vddk_handle {
> str...
2020 Aug 05
0
Re: More parallelism in VDDK driver (was: Re: CFME-5.11.7.3 Perf. Tests)
...lls.
I'm not sure what is the difference between SERIALIZE_REQUESTS and
SERIALIZE_ALL_REQUESTS,
but it sounds to me like we need PARALLEL.
With parallel we will have multiple threads using the same
vddk_handle, which can
be thread safe since we control this struct.
The struct can be:
struct vddk_item {
VixDiskLibConnectParams *params; /* connection parameters */
VixDiskLibConnection connection; /* connection */
VixDiskLibHandle handle; /* disk handle */
struct vddk_item *next; /* next handle in the list */
}
struct vddk_handle {
struct vddm_items *pool;
pthread_mutex_...
2020 Aug 05
0
Re: More parallelism in VDDK driver (was: Re: CFME-5.11.7.3 Perf. Tests)
...right order.
> > but it sounds to me like we need PARALLEL.
> >
> > With parallel we will have multiple threads using the same
> > vddk_handle, which can
> > be thread safe since we control this struct.
> >
> > The struct can be:
> >
> > struct vddk_item {
> > VixDiskLibConnectParams *params; /* connection parameters */
> > VixDiskLibConnection connection; /* connection */
> > VixDiskLibHandle handle; /* disk handle */
> > struct vddk_item *next; /* next handle in the list */
> > }
> >
> >...