RE: queue_transaction interface + unique_ptr + performance

2015-12-02 Thread Somnath Roy
Huh..One update : Earlier I didn't use any compiler optimization, now with O2 I got this.. # Test conventional ptr ## start: 1449126917 secs, 565820 usecs end: 1449126940 secs, 227713 usecs micros_used for conventional ptr: 22661893 # Test Unique Smart ptr ## start: 1449126940 s

Re: Ceph_objectstore_bench crashed on keyvaluestore bench with ceph master branch

2015-12-02 Thread Haomai Wang
thanks! Fixed in https://github.com/ceph/ceph/pull/6783. plz review On Thu, Dec 3, 2015 at 3:19 AM, James (Fei) Liu-SSI wrote: > Hi Haomai, >I happened to run ceph_objectstore_bench against key value store on master > branch. It always crashed at finisher_thread_entry : > assert(!ls_rval.e

Re: Troublesome documentation link on http://ceph.com

2015-12-02 Thread Dan Mick
On 12/01/2015 04:44 AM, Nathan Cutler wrote: > So I go to http://ceph.com and click on the "Documentation" link. In the > HTML source code the linked URL is http://ceph.com/docs but the HTTP > server rewrites this to: > > http://docs.ceph.com/docs/v0.80.5/ > > Could someone arrange for this to be

Re: queue_transaction interface + unique_ptr

2015-12-02 Thread Haomai Wang
On Thu, Dec 3, 2015 at 8:17 AM, Somnath Roy wrote: > Hi Sage/Sam, > As discussed in today's performance meeting , I am planning to change the > queue_transactions() interface to the following. > > int queue_transactions(Sequencer *osr, list& tls, > Context *onreadable,

Re: How long will the logs be kept?

2015-12-02 Thread huang jun
it will rotate every week by default, you can see the logrotate file /etc/ceph/logrotate.d/ceph 2015-12-03 12:37 GMT+08:00 Wukongming : > Hi ,All > Is there anyone who knows How long or how many days will the logs.gz > (mon/osd/mds)be kept, maybe before flushed? > > --

How long will the logs be kept?

2015-12-02 Thread Wukongming
Hi ,All Is there anyone who knows How long or how many days will the logs.gz (mon/osd/mds)be kept, maybe before flushed? - wukongming ID: 12019 Tel:0571-86760239 Dept:2014 UIS2 OneStor ---

RE: queue_transaction interface + unique_ptr + performance

2015-12-02 Thread Somnath Roy
Thanks James for looking into this.. Shared_ptr used heavily in the OSD.cc/Replicated PG path.. Regards Somnath -Original Message- From: James (Fei) Liu-SSI [mailto:james@ssi.samsung.com] Sent: Wednesday, December 02, 2015 7:50 PM To: Somnath Roy; Sage Weil (s...@newdream.net); Samue

RE: queue_transaction interface + unique_ptr + performance

2015-12-02 Thread James (Fei) Liu-SSI
Hi Somnath, Great findings. As you mentioned, unique_ptr and smart_ptr always have a well known problem about the performance comparing to conventional pointer , Got a chance to run your interesting code and close to what you find. But I did not find any place in filestore/newstore (keyvaluesto

Re: tarball for 10.0.0

2015-12-02 Thread Dan Mick
On 11/30/2015 11:57 AM, Deneau, Tom wrote: > I did not see the source tarball for 10.0.0 at > http://download.ceph.com/tarballs/ceph-10.0.0.tar.gz > It's there now, FWIW. -- Dan Mick Red Hat, Inc. Ceph docs: http://ceph.com/docs -- To unsubscribe from this list: send the line "unsubscribe cep

RE: queue_transaction interface + unique_ptr + performance

2015-12-02 Thread Somnath Roy
*Also*, in this way we are unnecessary adding another smart pointer overhead in the Ceph IO path. As I communicated sometimes back (probably 2 years now :-) ) in the community, profiler is showing these smart pointers (shared_ptr) as one of the hot spot. Now, I decided to actually measure this..

Re: Compiling for FreeBSD

2015-12-02 Thread Yan, Zheng
On Thu, Dec 3, 2015 at 4:52 AM, Willem Jan Withagen wrote: > On 2-12-2015 15:13, Yan, Zheng wrote: >> see https://github.com/ceph/ceph/pull/6770. The code can be compiled >> on FreeBSD/OSX, most client programs can connect to ceph servers on >> Linux. > > Hi, > > I do like some of the inline compi

queue_transaction interface + unique_ptr

2015-12-02 Thread Somnath Roy
Hi Sage/Sam, As discussed in today's performance meeting , I am planning to change the queue_transactions() interface to the following. int queue_transactions(Sequencer *osr, list& tls, Context *onreadable, Context *ondisk=0, Context *onreadable

Re: Compiling for FreeBSD, missing rbd

2015-12-02 Thread Willem Jan Withagen
Running gmake check is starting to work. reporting still thinks there are no successful tests but tests themselves report OKE But where I really can not get it to work is with testing rbd. Is starts with the simple: /bin/sh: rbd: not found And whatever I'm trying in co

Re: Compiling for FreeBSD

2015-12-02 Thread Willem Jan Withagen
On 1-12-2015 19:51, Willem Jan Withagen wrote: > On 1-12-2015 17:24, Willem Jan Withagen wrote: >> I think in the short run it will not be the code that is going to be a >> major porting pain. But getting the run-time environment ironed out is >> just plain (hard) work. Things where /bin/sh expects

Re: Compiling for FreeBSD

2015-12-02 Thread Willem Jan Withagen
On 2-12-2015 15:13, Yan, Zheng wrote: > see https://github.com/ceph/ceph/pull/6770. The code can be compiled > on FreeBSD/OSX, most client programs can connect to ceph servers on > Linux. Hi, I do like some of the inline compiler tests. I guess that the way the errno's are done like the other OS

Re: Suggestions on tracker 13578

2015-12-02 Thread John Spray
On Wed, Dec 2, 2015 at 7:54 PM, Paul Von-Stamwitz wrote: >> -Original Message- >> From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel- >> ow...@vger.kernel.org] On Behalf Of Mark Nelson >> Sent: Wednesday, December 02, 2015 11:04 AM >> To: Gregory Farnum; Vimal >> Cc: ceph-devel >> S

RE: Suggestions on tracker 13578

2015-12-02 Thread Paul Von-Stamwitz
> -Original Message- > From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel- > ow...@vger.kernel.org] On Behalf Of Mark Nelson > Sent: Wednesday, December 02, 2015 11:04 AM > To: Gregory Farnum; Vimal > Cc: ceph-devel > Subject: Re: Suggestions on tracker 13578 > > > On 12/02/2015 12

Ceph_objectstore_bench crashed on keyvaluestore bench with ceph master branch

2015-12-02 Thread James (Fei) Liu-SSI
Hi Haomai, I happened to run ceph_objectstore_bench against key value store on master branch. It always crashed at finisher_thread_entry : assert(!ls_rval.empty()); It looks like the completion not only has null entry in the finisher queue , but also has none entry in the finisher_queue_r

Re: Suggestions on tracker 13578

2015-12-02 Thread Mark Nelson
On 12/02/2015 12:23 PM, Gregory Farnum wrote: On Tue, Dec 1, 2015 at 5:23 AM, Vimal wrote: Hello, This mail is to discuss the feature request at http://tracker.ceph.com/issues/13578. If done, such a tool should help point out several mis-configurations that may cause problems in a cluster l

Re: Suggestions on tracker 13578

2015-12-02 Thread Gregory Farnum
On Tue, Dec 1, 2015 at 5:23 AM, Vimal wrote: > Hello, > > This mail is to discuss the feature request at > http://tracker.ceph.com/issues/13578. > > If done, such a tool should help point out several mis-configurations that > may cause problems in a cluster later. > > Some of the suggestions are:

Re: Compiling for FreeBSD

2015-12-02 Thread Yan, Zheng
see https://github.com/ceph/ceph/pull/6770. The code can be compiled on FreeBSD/OSX, most client programs can connect to ceph servers on Linux. Regards Yan. Zheng On Wed, Dec 2, 2015 at 2:43 AM, Willem Jan Withagen wrote: > On 1-12-2015 19:36, Sage Weil wrote: >> >> On Tue, 1 Dec 2015, Alan Some

Re: RGW S3 Website hosting, non-clean code for early review

2015-12-02 Thread Javier Muñoz
Hi, I would appreciate to know the current status of the implementation if possible. Any progress? Any 'deadline' to go upstream? :) Thanks in advance! Javier On 07/31/2015 10:21 AM, Robin H. Johnson wrote: > I'm busy travelling and wrapping other things up, but will resume major > work on this

Re: why my cluster become unavailable (min_size of pool)

2015-12-02 Thread Libin Wu
Sage, thanks! I'm missing your email until i saw it in GMANE today. Thanks again! 2015-11-26 21:30 GMT+08:00 Sage Weil : > On Thu, 26 Nov 2015, hzwulibin wrote: >> Hi, Sage >> >> I has a question about min_size of pool. >> >> The default value of min_size is 2, but in this setting, when two OSD