gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] libgfapi threads


From: Paul Cuzner
Subject: Re: [Gluster-devel] libgfapi threads
Date: Thu, 30 Jan 2014 16:15:11 -0500 (EST)

Wouldn't the thread count relate to the number of bricks in the volume, rather that peers in the cluster?



From: "Kelly Burkhart" <address@hidden>
To: address@hidden
Sent: Friday, 31 January, 2014 9:52:38 AM
Subject: [Gluster-devel] libgfapi threads

Hello, I'm working through using libgfapi and am curious about the number of background threads started.  I have a simple cluster with four bricks on four peers.  On my client machine I run a program that does this:

glfs_new()
glfs_set_volfile_server()
glfs_set_logging()
glfs_init()
pause()
glfs_fini()
pause()

At the first pause, right after glfs_init, there are four child threads created.  Is it a coincidence that the api creates the same number of threads as cluster peers?  I'd hate to think that if I had a thousand peers I'd have a thousand threads.

Second, the threads don't shut down after the call to glfs_fini().

Can anyone shed some light on what's going on?

Thanks,

-Kelly

_______________________________________________
Gluster-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gluster-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]