Re: Ceph Hackathon: More Memory Allocator Testing

2015-09-03 Thread Matt Benjamin
4-769-8938 cel. 734-216-5309 - Original Message - > From: "Daniel Gryniewicz" > To: "Ceph Development" > Sent: Thursday, September 3, 2015 9:06:47 AM > Subject: Re: Ceph Hackathon: More Memory Allocator Testing > > I believe preloading should work

Re: Ceph Hackathon: More Memory Allocator Testing

2015-09-03 Thread Daniel Gryniewicz
- > From: "Somnath Roy" > To: "Alexandre DERUMIER" > Cc: "Sage Weil" , "Milosz Tanski" , > "Shishir Gowda" , "Stefan Priebe" > , "Mark Nelson" , "ceph-devel" > > Sent: Sunday, August 23, 2015 2

Re: Ceph Hackathon: More Memory Allocator Testing

2015-09-03 Thread Shinobu Kinjo
quot; , "Mark Nelson" , "ceph-devel" Sent: Sunday, August 23, 2015 2:03:41 AM Subject: RE: Ceph Hackathon: More Memory Allocator Testing Need to see if client is overriding the libraries built with different malloc libraries I guess.. I am not sure in your case the benefit

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-24 Thread Robert LeBlanc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Probably possible. The question is if it would it be worth the extra logic. It seems a lot more complicated than an include line. I don't know if you would have to use introspection or if you could assume that functions exist. https://en.m.wikipedia

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-23 Thread Somnath Roy
y Cc: Sage Weil; Milosz Tanski; Shishir Gowda; Stefan Priebe; Mark Nelson; ceph-devel Subject: Re: Ceph Hackathon: More Memory Allocator Testing >>I am not sure in your case the benefit you are seeing is because of qemu is >>more efficient with tcmalloc/jemalloc or the entire client s

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-23 Thread Alexandre DERUMIER
"Stefan Priebe" , "Mark Nelson" , "ceph-devel" Envoyé: Samedi 22 Août 2015 19:03:41 Objet: RE: Ceph Hackathon: More Memory Allocator Testing Need to see if client is overriding the libraries built with different malloc libraries I guess.. I am not sure in your

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-22 Thread Somnath Roy
[mailto:aderum...@odiso.com] Sent: Saturday, August 22, 2015 9:57 AM To: Somnath Roy Cc: Sage Weil; Milosz Tanski; Shishir Gowda; Stefan Priebe; Mark Nelson; ceph-devel Subject: Re: Ceph Hackathon: More Memory Allocator Testing >>Wanted to know is there any reason we didn't link clien

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-22 Thread Alexandre DERUMIER
- De: "Somnath Roy" À: "Sage Weil" , "Milosz Tanski" Cc: "Shishir Gowda" , "Stefan Priebe" , "aderumier" , "Mark Nelson" , "ceph-devel" Envoyé: Samedi 22 Août 2015 18:15:36 Objet: RE: Ceph Hackathon: More Memory

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-22 Thread Somnath Roy
& Regards Somnath -Original Message- From: Sage Weil [mailto:s...@newdream.net] Sent: Saturday, August 22, 2015 6:56 AM To: Milosz Tanski Cc: Shishir Gowda; Somnath Roy; Stefan Priebe; Alexandre DERUMIER; Mark Nelson; ceph-devel Subject: Re: Ceph Hackathon: More Memory Allocator Testing

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-22 Thread Sage Weil
On Fri, 21 Aug 2015, Milosz Tanski wrote: > On Fri, Aug 21, 2015 at 12:22 AM, Shishir Gowda > wrote: > > Hi All, > > > > Have sent out a pull request which enables building librados/librbd with > > either tcmalloc(as default) or jemalloc. > > > > Please find the pull request @ https://github.com

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-22 Thread Sage Weil
s that will be linked in by other external applications should > > not have a 3rd party malloc linked in there. That seams like an > > application choice. At the very least the default should not be to > > link in a 3rd party malloc. > > > >> > >>> -Orig

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-21 Thread Robert LeBlanc
d not be to > link in a 3rd party malloc. > >> >>> -Original Message- >>> From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel- >>> ow...@vger.kernel.org] On Behalf Of Somnath Roy >>> Sent: Thursday, August 20, 2015 2:14 AM >>> To:

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-21 Thread Milosz Tanski
be [mailto:s.pri...@profihost.ag] >> Sent: Wednesday, August 19, 2015 1:41 PM >> To: Somnath Roy; Alexandre DERUMIER; Mark Nelson >> Cc: ceph-devel >> Subject: Re: Ceph Hackathon: More Memory Allocator Testing >> >> >> Am 19.08.2015 um 22:34 schrieb Somnath Roy:

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-20 Thread Shishir Gowda
el.org [mailto:ceph-devel- > ow...@vger.kernel.org] On Behalf Of Somnath Roy > Sent: Thursday, August 20, 2015 2:14 AM > To: Stefan Priebe; Alexandre DERUMIER; Mark Nelson > Cc: ceph-devel > Subject: RE: Ceph Hackathon: More Memory Allocator Testing > > Yeah , I can see ceph-osd/c

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-20 Thread Shishir Gowda
el.org [mailto:ceph-devel- > ow...@vger.kernel.org] On Behalf Of Somnath Roy > Sent: Thursday, August 20, 2015 2:14 AM > To: Stefan Priebe; Alexandre DERUMIER; Mark Nelson > Cc: ceph-devel > Subject: RE: Ceph Hackathon: More Memory Allocator Testing > > Yeah , I can see ceph-osd/c

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-20 Thread Matt Benjamin
- > From: "Shinobu Kinjo" > To: "Alexandre DERUMIER" > Cc: "Stephen L Blinick" , "Somnath Roy" > , "Mark Nelson" > , "ceph-devel" > Sent: Thursday, August 20, 2015 8:54:59 AM > Subject: Re: Ceph Hackathon: More Mem

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-20 Thread Shinobu Kinjo
; , "ceph-devel" Sent: Thursday, August 20, 2015 5:17:46 PM Subject: Re: Ceph Hackathon: More Memory Allocator Testing memory results of osd daemon under load, jemalloc use always more memory than tcmalloc, jemalloc 4.0 seem to reduce memory usage but still a littl

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-20 Thread Alexandre DERUMIER
À: "Stephen L Blinick" Cc: "aderumier" , "Somnath Roy" , "Mark Nelson" , "ceph-devel" Envoyé: Jeudi 20 Août 2015 04:00:15 Objet: Re: Ceph Hackathon: More Memory Allocator Testing How about making any sheet for testing patter? Shinobu - Or

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-20 Thread Dałek , Piotr
> -Original Message- > From: Haomai Wang [mailto:haomaiw...@gmail.com] > Sent: Thursday, August 20, 2015 9:09 AM > > > And it takes me just a few minutes with rados bench to reproduce this > issue on mixed-storage node (SSDs, SAS disks, high-capacity SATA disks, etc). > > See here: http://c

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-20 Thread Haomai Wang
On Thu, Aug 20, 2015 at 2:35 PM, Dałek, Piotr wrote: >> -Original Message- >> From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel- >> ow...@vger.kernel.org] On Behalf Of Blinick, Stephen L >> Sent: Wednesday, August 19, 2015 6:58 PM >> >> [.. >> Regarding the all-HDD or high density

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Dałek , Piotr
> -Original Message- > From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel- > ow...@vger.kernel.org] On Behalf Of Blinick, Stephen L > Sent: Wednesday, August 19, 2015 6:58 PM > > [.. > Regarding the all-HDD or high density HDD nodes, is it certain these issues > with tcmalloc don't

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Dałek , Piotr
> -Original Message- > From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel- > ow...@vger.kernel.org] On Behalf Of Allen Samuels > Sent: Wednesday, August 19, 2015 8:20 PM > It was a surprising result that the memory allocator is making such a large > difference in performance. All of

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Alexandre DERUMIER
nath Roy" , "Mark Nelson" , "ceph-devel" Envoyé: Jeudi 20 Août 2015 04:00:15 Objet: Re: Ceph Hackathon: More Memory Allocator Testing How about making any sheet for testing patter? Shinobu - Original Message - From: "Stephen L Blinick" To: "Alexandre

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Shinobu Kinjo
How about making any sheet for testing patter? Shinobu - Original Message - From: "Stephen L Blinick" To: "Alexandre DERUMIER" , "Somnath Roy" Cc: "Mark Nelson" , "ceph-devel" Sent: Thursday, August 20, 2015 10:09:36 AM Subject:

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Blinick, Stephen L
Original Message- From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Alexandre DERUMIER Sent: Wednesday, August 19, 2015 11:47 AM To: Somnath Roy Cc: Mark Nelson; ceph-devel Subject: Re: Ceph Hackathon: More Memory Allocator Testing Just have do

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Zhang, Jian
-devel Subject: Ceph Hackathon: More Memory Allocator Testing Hi Everyone, One of the goals at the Ceph Hackathon last week was to examine how to improve Ceph Small IO performance. Jian Zhang presented findings showing a dramatic improvement in small random IO performance when Ceph is used with

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Somnath Roy
inst libjemalloc for me. Stefan > -Original Message- > From: Stefan Priebe [mailto:s.pri...@profihost.ag] > Sent: Wednesday, August 19, 2015 1:31 PM > To: Somnath Roy; Alexandre DERUMIER; Mark Nelson > Cc: ceph-devel > Subject: Re: Ceph Hackathon: More Memory Allocator Te

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Stefan Priebe
nal Message- From: Stefan Priebe [mailto:s.pri...@profihost.ag] Sent: Wednesday, August 19, 2015 1:31 PM To: Somnath Roy; Alexandre DERUMIER; Mark Nelson Cc: ceph-devel Subject: Re: Ceph Hackathon: More Memory Allocator Testing Am 19.08.2015 um 22:29 schrieb Somnath Roy: Hmm...We need to fix

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Somnath Roy
: Wednesday, August 19, 2015 1:31 PM To: Somnath Roy; Alexandre DERUMIER; Mark Nelson Cc: ceph-devel Subject: Re: Ceph Hackathon: More Memory Allocator Testing Am 19.08.2015 um 22:29 schrieb Somnath Roy: > Hmm...We need to fix that as part of configure/Makefile I guess (?).. > Since we hav

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Stefan Priebe
brbd/librados with jemalloc ? Thanks & Regards Somnath -Original Message- From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Alexandre DERUMIER Sent: Wednesday, August 19, 2015 7:01 AM To: Mark Nelson Cc: ceph-devel Subject: Re: Ceph Hackatho

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Somnath Roy
Mark Nelson Cc: ceph-devel Subject: Re: Ceph Hackathon: More Memory Allocator Testing Am 19.08.2015 um 22:16 schrieb Somnath Roy: > Alexandre, > I am not able to build librados/librbd by using the following config option. > > ./configure –without-tcmalloc –with-jemalloc Same issu

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Stefan Priebe
omnath -Original Message- From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Alexandre DERUMIER Sent: Wednesday, August 19, 2015 7:01 AM To: Mark Nelson Cc: ceph-devel Subject: Re: Ceph Hackathon: More Memory Allocator Testing Thanks Marc, Results ar

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Somnath Roy
ctly same behaviour client librbd side, with qemu and multiple iothreads. Switching both server and client to jemalloc give me best performance on small read currently. - Mail original - De: "Mark Nelson" À: "ceph-devel" Envoyé: Mercredi 19 Août 2015 06:45:36 Obj

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Łukasz Redynk
e Memory Allocator Testing >> >> Yes, it should be 1 per OSD... >> There is no doubt that TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES is relative >> to the number of threads running.. >> But, I don't know if number of threads is a factor for jema

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Alexandre DERUMIER
under load. - Mail original - De: "Somnath Roy" À: "aderumier" Cc: "Mark Nelson" , "ceph-devel" Envoyé: Mercredi 19 Août 2015 19:29:56 Objet: RE: Ceph Hackathon: More Memory Allocator Testing Yes, it should be 1 per OSD... There is no doubt

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Allen Samuels
nel.org [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Somnath Roy Sent: Wednesday, August 19, 2015 10:30 AM To: Alexandre DERUMIER Cc: Mark Nelson; ceph-devel Subject: RE: Ceph Hackathon: More Memory Allocator Testing Yes, it should be 1 per OSD... There is no doubt that TCMALLOC_MAX_TOTAL_THR

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Mark Nelson
th Roy Sent: Wednesday, August 19, 2015 10:30 AM To: Alexandre DERUMIER Cc: Mark Nelson; ceph-devel Subject: RE: Ceph Hackathon: More Memory Allocator Testing Yes, it should be 1 per OSD... There is no doubt that TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES is relative to the number of threads running..

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Somnath Roy
DERUMIER [mailto:aderum...@odiso.com] Sent: Wednesday, August 19, 2015 9:55 AM To: Somnath Roy Cc: Mark Nelson; ceph-devel Subject: Re: Ceph Hackathon: More Memory Allocator Testing << I think that tcmalloc have a fixed size (TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES), and share it between all process.

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Blinick, Stephen L
Alexandre DERUMIER Sent: Wednesday, August 19, 2015 9:55 AM To: Somnath Roy Cc: Mark Nelson; ceph-devel Subject: Re: Ceph Hackathon: More Memory Allocator Testing << I think that tcmalloc have a fixed size (TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES), and share it between all process. >>I thin

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Alexandre DERUMIER
irectly. (can reproduce 100%). Like the thread_cache size is divide by number of threads? - Mail original - De: "Somnath Roy" À: "aderumier" , "Mark Nelson" Cc: "ceph-devel" Envoyé: Mercredi 19 Août 2015 18:27:30 Objet: RE: Ceph Hackathon: More

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Somnath Roy
Thanks & Regards Somnath -Original Message- From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Alexandre DERUMIER Sent: Wednesday, August 19, 2015 9:06 AM To: Mark Nelson Cc: ceph-devel Subject: Re: Ceph Hackathon: More Memory Allocator Test

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Alexandre DERUMIER
side, with qemu and multiple iothreads. Switching both server and client to jemalloc give me best performance on small read currently. - Mail original - De: "Mark Nelson" À: "ceph-devel" Envoyé: Mercredi 19 Août 2015 06:45:36 Objet: Ceph Hackathon: Mor

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Alexandre DERUMIER
server and client to jemalloc give me best performance on small read currently. - Mail original - De: "Mark Nelson" À: "ceph-devel" Envoyé: Mercredi 19 Août 2015 06:45:36 Objet: Ceph Hackathon: More Memory Allocator Testing Hi Everyone, One of the goals at the

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Dałek , Piotr
> -Original Message- > From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel- > ow...@vger.kernel.org] On Behalf Of Mark Nelson > Sent: Wednesday, August 19, 2015 2:45 PM > > > Have you tried running these tests again with TCMalloc after applying > patches from https://github.com/ceph/c

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Mark Nelson
On 08/19/2015 07:36 AM, Dałek, Piotr wrote: -Original Message- From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel- ow...@vger.kernel.org] On Behalf Of Mark Nelson Sent: Wednesday, August 19, 2015 2:17 PM The RSS memory usage in the report is per OSD I guess(really?). It can't be

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Dałek , Piotr
> -Original Message- > From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel- > ow...@vger.kernel.org] On Behalf Of Mark Nelson > Sent: Wednesday, August 19, 2015 2:17 PM > > > The RSS memory usage in the report is per OSD I guess(really?). It > > can't be ignored since it's really a g

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Mark Nelson
Nope! So in this case it's just server side. On 08/19/2015 01:33 AM, Stefan Priebe - Profihost AG wrote: Thanks for sharing. Do those tests use jemalloc for fio too? Otherwise librbd on client side is running with tcmalloc again. Stefan Am 19.08.2015 um 06:45 schrieb Mark Nelson: Hi Everyon

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Mark Nelson
k we probably need to run the tests. Thanks & Regards Somnath -Original Message- From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Mark Nelson Sent: Tuesday, August 18, 2015 9:46 PM To: ceph-devel Subject: Ceph Hackathon: More Memory Alloc

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Mark Nelson
-devel-ow...@vger.kernel.org [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Mark Nelson Sent: Tuesday, August 18, 2015 9:46 PM To: ceph-devel Subject: Ceph Hackathon: More Memory Allocator Testing Hi Everyone, One of the goals at the Ceph Hackathon last week was to examine how to improve C

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Shinobu Kinjo
yes, that's true. - Original Message - From: "Haomai Wang" To: "Somnath Roy" Cc: "Mark Nelson" , "ceph-devel" Sent: Wednesday, August 19, 2015 5:07:53 PM Subject: Re: Ceph Hackathon: More Memory Allocator Testing On Wed, Aug 19, 2015 at

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-19 Thread Haomai Wang
el-ow...@vger.kernel.org] On Behalf Of Mark Nelson > Sent: Tuesday, August 18, 2015 9:46 PM > To: ceph-devel > Subject: Ceph Hackathon: More Memory Allocator Testing > > Hi Everyone, > > One of the goals at the Ceph Hackathon last week was to examine how to > improve Ceph

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-18 Thread Stefan Priebe - Profihost AG
Thanks for sharing. Do those tests use jemalloc for fio too? Otherwise librbd on client side is running with tcmalloc again. Stefan Am 19.08.2015 um 06:45 schrieb Mark Nelson: > Hi Everyone, > > One of the goals at the Ceph Hackathon last week was to examine how to > improve Ceph Small IO perfo

RE: Ceph Hackathon: More Memory Allocator Testing

2015-08-18 Thread Somnath Roy
l-ow...@vger.kernel.org [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Mark Nelson Sent: Tuesday, August 18, 2015 9:46 PM To: ceph-devel Subject: Ceph Hackathon: More Memory Allocator Testing Hi Everyone, One of the goals at the Ceph Hackathon last week was to examine how to improve Ceph Smal

Re: Ceph Hackathon: More Memory Allocator Testing

2015-08-18 Thread Shinobu Kinjo
Thank you. That's pretty interesting to me. Shinobu - Original Message - From: "Mark Nelson" To: "ceph-devel" Sent: Wednesday, August 19, 2015 1:45:36 PM Subject: Ceph Hackathon: More Memory Allocator Testing Hi Everyone, One of the goals at the Ceph H

Ceph Hackathon: More Memory Allocator Testing

2015-08-18 Thread Mark Nelson
Hi Everyone, One of the goals at the Ceph Hackathon last week was to examine how to improve Ceph Small IO performance. Jian Zhang presented findings showing a dramatic improvement in small random IO performance when Ceph is used with jemalloc. His results build upon Sandisk's original findi