Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-19 Thread Raghavendra Gowdappa
- Original Message - > From: "Martin Simmons" > To: "Raghavendra Gowdappa" > Cc: rmack...@uoguelph.ca, jda...@redhat.com, raghaven...@gluster.com, > gluster-devel@gluster.org, > freebsd...@freebsd.org, xhernan...@datalab.es,

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-19 Thread Rick Macklem
Raghavendra Gowdappa wrote: > > > - Original Message - > > From: "Rick Macklem" > > To: "Raghavendra Gowdappa" > > Cc: "Jeff Darcy" , "Raghavendra G" > > , "freebsd-fs" > > ,

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-19 Thread Rick Macklem
Raghavendra Gowdappa wrote: > > > - Original Message - > > From: "Martin Simmons" > > To: "Raghavendra Gowdappa" > > Cc: rmack...@uoguelph.ca, jda...@redhat.com, raghaven...@gluster.com, > > gluster-devel@gluster.org, > >

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-19 Thread Rick Macklem
Raghavendra Gowdappa wrote: > > > - Original Message - > > From: "Martin Simmons" > > To: "Raghavendra Gowdappa" > > Cc: rmack...@uoguelph.ca, jda...@redhat.com, raghaven...@gluster.com, > > gluster-devel@gluster.org, > >

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-18 Thread Raghavendra Gowdappa
- Original Message - > From: "Rick Macklem" > To: "Raghavendra Gowdappa" > Cc: "Jeff Darcy" , "Raghavendra G" > , "freebsd-fs" > , "Hubbard Jordan" ,

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-18 Thread Rick Macklem
Raghavendra Gowdappa wrote: > > > - Original Message - > > From: "Rick Macklem" > > To: "Jeff Darcy" > > Cc: "Raghavendra G" , "freebsd-fs" > > , "Hubbard Jordan" > > , "Xavier

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-08 Thread Raghavendra G
On Fri, Jan 8, 2016 at 1:32 PM, Xavier Hernandez wrote: > > On 08/01/16 05:42, Raghavendra G wrote: > >> Sorry for the delayed reply. Had missed out this mail. Please find my >> comments inlined. >> >> On Thu, Dec 31, 2015 at 4:56 AM, Rick Macklem >

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-08 Thread Xavier Hernandez
On 08/01/16 05:42, Raghavendra G wrote: Sorry for the delayed reply. Had missed out this mail. Please find my comments inlined. On Thu, Dec 31, 2015 at 4:56 AM, Rick Macklem > wrote: Jordan Hubbard wrote: > > > On Dec 30, 2015, at

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-08 Thread Rick Macklem
Jeff Darcy wrote: > > > I don't know anything about gluster's poll implementation so I may > > > be totally wrong, but would it be possible to use an eventfd (or a > > > pipe if eventfd is not supported) to signal the need to add more > > > file descriptors to the poll call ? > > > > > > > > > The

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-08 Thread Raghavendra Gowdappa
- Original Message - > From: "Rick Macklem" > To: "Jeff Darcy" > Cc: "Raghavendra G" , "freebsd-fs" > , "Hubbard Jordan" > , "Xavier Hernandez" ,

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-08 Thread Kaleb S. KEITHLEY
On 12/30/2015 01:22 PM, Hubbard Jordan wrote: > I also have a broader question to go with the specific one: We > (at iXsystems) were attempting to engage with some of the Red Hat > folks back when the FreeBSD port was first done, in the hope of > getting it more “officially supported” for

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-08 Thread Kaleb S. KEITHLEY
On 01/08/2016 08:58 AM, Kaleb S. KEITHLEY wrote: > On 12/30/2015 01:22 PM, Hubbard Jordan wrote: > >> I also have a broader question to go with the specific one: We >> (at iXsystems) were attempting to engage with some of the Red Hat >> folks back when the FreeBSD port was first done, in the

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-07 Thread Raghavendra G
Sorry for the delayed reply. Had missed out this mail. Please find my comments inlined. On Thu, Dec 31, 2015 at 4:56 AM, Rick Macklem wrote: > Jordan Hubbard wrote: > > > > > On Dec 30, 2015, at 2:31 AM, Niels de Vos wrote: > > > > > >> I'm guessing

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-07 Thread Niels de Vos
On Wed, Dec 30, 2015 at 09:00:32AM -0500, Rick Macklem wrote: > Niels de Vos wrote: > > On Tue, Dec 29, 2015 at 08:12:40PM -0500, Rick Macklem wrote: > > > Hi, > > > > > > I'm been playing with the FreeBSD port of GlusterFS and it seems > > > to be working ok. I do notice that the daemons use a

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2016-01-04 Thread Hubbard Jordan
> On Dec 30, 2015, at 2:31 AM, Niels de Vos wrote: > >> I'm guessing that Linux uses the event-epoll stuff instead of event-poll, >> so it wouldn't exhibit this. Is that correct? > > Well, both. most (if not all) Linux builds will use event-poll. But, > that calls

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2015-12-30 Thread Niels de Vos
On Tue, Dec 29, 2015 at 08:12:40PM -0500, Rick Macklem wrote: > Hi, > > I'm been playing with the FreeBSD port of GlusterFS and it seems > to be working ok. I do notice that the daemons use a lot of CPU, > even when there is nothing to do (no volumes started, etc). > When I ktrace the daemon, I

Re: [Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2015-12-30 Thread Rick Macklem
Niels de Vos wrote: > On Tue, Dec 29, 2015 at 08:12:40PM -0500, Rick Macklem wrote: > > Hi, > > > > I'm been playing with the FreeBSD port of GlusterFS and it seems > > to be working ok. I do notice that the daemons use a lot of CPU, > > even when there is nothing to do (no volumes started, etc).

[Gluster-devel] FreeBSD port of GlusterFS racks up a lot of CPU usage

2015-12-29 Thread Rick Macklem
Hi, I'm been playing with the FreeBSD port of GlusterFS and it seems to be working ok. I do notice that the daemons use a lot of CPU, even when there is nothing to do (no volumes started, etc). When I ktrace the daemon, I see a small number of nanosleep() and select() syscalls and lots of poll()