* Creating the filesystem and tweaking configurations
@ 2011-03-28 19:54 Steena Monteiro
[not found] ` <AANLkTi=F9KNJpgTu-TnkaE4R_oFnp03ZBLCDNRTgG1YA@mail.gmail.com>
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Steena Monteiro @ 2011-03-28 19:54 UTC (permalink / raw)
To: ceph-devel
1) I used apt-get to procure and install Ceph excluding the standalone
client on
Lucid Lynx. I obtained built the client using instructions
on the Ceph wiki and
it worked fine after I reverted certain commits. However, mkcephfs (from: $
/usr/sbin/mkcephfs -c /etc/ceph/ceph.conf --allhosts -v) has been breaking:
2011-03-28 13:23:23.596948 b77b16d0 OSD::mkfs:
couldn't mount FileStore: error -95
2011-03-28 13:23:23.597008 b77b16d0 ** ERROR:
error creating empty object store
in /data/osd0: error 95: Operation not supported
failed: '/usr/bin/cosd -c /etc/ceph/ceph.conf --monmap
/tmp/mkcephfs.DZdhzxPY5k/monmap.24380 -i 0 --mkfs --osd-data /data/osd0'
Additionally, I checked and /data/osd0 does exist...
2) I want to be able to tune Ceph's configuration
parameters (located in
config.cc within the Ceph source) and see how each
configuration change impacts Ceph's performance.
However, I am not certain how changes in the ceph source
code will be reflected in the standalone-client in terms of
Ceph's performance.
Is there a suggested way I could work to accomplish changing parameters in the
source in order to have the file system impacted by these changes?
I'd appreciate your help!
Thanks in advance,
Steena
^ permalink raw reply [flat|nested] 8+ messages in thread[parent not found: <AANLkTi=F9KNJpgTu-TnkaE4R_oFnp03ZBLCDNRTgG1YA@mail.gmail.com>]
* Re: Creating the filesystem and tweaking configurations
[not found] ` <AANLkTi=F9KNJpgTu-TnkaE4R_oFnp03ZBLCDNRTgG1YA@mail.gmail.com>
@ 2011-03-28 20:00 ` Ben De Luca
2011-03-28 20:41 ` Tommi Virtanen
0 siblings, 1 reply; 8+ messages in thread
From: Ben De Luca @ 2011-03-28 20:00 UTC (permalink / raw)
To: Steena Monteiro; +Cc: ceph-devel
Last I checked the lucid package was out of date, is that still the case?
> On Mon, Mar 28, 2011 at 8:54 PM, Steena Monteiro
> <steena.m@aggiemail.usu.edu> wrote:
>>
>> 1) I used apt-get to procure and install Ceph excluding the standalone
>> client on
>> Lucid Lynx. I obtained built the client using instructions
>> on the Ceph wiki and
>> it worked fine after I reverted certain commits. However, mkcephfs (from:
>> $
>> /usr/sbin/mkcephfs -c /etc/ceph/ceph.conf --allhosts -v) has been
>> breaking:
>>
>> 2011-03-28 13:23:23.596948 b77b16d0 OSD::mkfs:
>> couldn't mount FileStore: error -95
>> 2011-03-28 13:23:23.597008 b77b16d0 ** ERROR:
>> error creating empty object store
>> in /data/osd0: error 95: Operation not supported
>> failed: '/usr/bin/cosd -c /etc/ceph/ceph.conf --monmap
>> /tmp/mkcephfs.DZdhzxPY5k/monmap.24380 -i 0 --mkfs --osd-data /data/osd0'
>>
>> Additionally, I checked and /data/osd0 does exist...
>>
>> 2) I want to be able to tune Ceph's configuration
>> parameters (located in
>> config.cc within the Ceph source) and see how each
>> configuration change impacts Ceph's performance.
>> However, I am not certain how changes in the ceph source
>> code will be reflected in the standalone-client in terms of
>> Ceph's performance.
>> Is there a suggested way I could work to accomplish changing parameters in
>> the
>> source in order to have the file system impacted by these changes?
>>
>> I'd appreciate your help!
>>
>> Thanks in advance,
>> Steena
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Creating the filesystem and tweaking configurations
2011-03-28 20:00 ` Ben De Luca
@ 2011-03-28 20:41 ` Tommi Virtanen
2011-03-28 20:46 ` Ben De Luca
0 siblings, 1 reply; 8+ messages in thread
From: Tommi Virtanen @ 2011-03-28 20:41 UTC (permalink / raw)
To: Ben De Luca; +Cc: Steena Monteiro, ceph-devel
On Mon, Mar 28, 2011 at 09:00:44PM +0100, Ben De Luca wrote:
> Last I checked the lucid package was out of date, is that still the case?
I see both
http://ceph.newdream.net/debian/dists/lucid/main/binary-i386/Packages
and
http://ceph.newdream.net/debian/dists/maverick/main/binary-i386/Packages
listing a 0.25.2-1foo version, so it doesn't seem like that's true
anymore.
--
:(){ :|:&};:
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Creating the filesystem and tweaking configurations
2011-03-28 20:41 ` Tommi Virtanen
@ 2011-03-28 20:46 ` Ben De Luca
0 siblings, 0 replies; 8+ messages in thread
From: Ben De Luca @ 2011-03-28 20:46 UTC (permalink / raw)
To: Tommi Virtanen; +Cc: Steena Monteiro, ceph-devel
aah appeared on the 23rd great :)
On Mon, Mar 28, 2011 at 9:41 PM, Tommi Virtanen
<tommi.virtanen@dreamhost.com> wrote:
> On Mon, Mar 28, 2011 at 09:00:44PM +0100, Ben De Luca wrote:
>> Last I checked the lucid package was out of date, is that still the case?
>
> I see both
>
> http://ceph.newdream.net/debian/dists/lucid/main/binary-i386/Packages
>
> and
>
> http://ceph.newdream.net/debian/dists/maverick/main/binary-i386/Packages
>
> listing a 0.25.2-1foo version, so it doesn't seem like that's true
> anymore.
>
> --
> :(){ :|:&};:
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Creating the filesystem and tweaking configurations
2011-03-28 19:54 Creating the filesystem and tweaking configurations Steena Monteiro
[not found] ` <AANLkTi=F9KNJpgTu-TnkaE4R_oFnp03ZBLCDNRTgG1YA@mail.gmail.com>
@ 2011-03-28 20:46 ` Tommi Virtanen
2011-03-28 20:52 ` Sage Weil
2 siblings, 0 replies; 8+ messages in thread
From: Tommi Virtanen @ 2011-03-28 20:46 UTC (permalink / raw)
To: Steena Monteiro; +Cc: ceph-devel
On Mon, Mar 28, 2011 at 07:54:13PM +0000, Steena Monteiro wrote:
> 1) I used apt-get to procure and install Ceph excluding the standalone
> client on
> Lucid Lynx. I obtained built the client using instructions
> on the Ceph wiki and
> it worked fine after I reverted certain commits. However, mkcephfs (from: $
> /usr/sbin/mkcephfs -c /etc/ceph/ceph.conf --allhosts -v) has been breaking:
>
> 2011-03-28 13:23:23.596948 b77b16d0 OSD::mkfs:
> couldn't mount FileStore: error -95
> 2011-03-28 13:23:23.597008 b77b16d0 ** ERROR:
> error creating empty object store
> in /data/osd0: error 95: Operation not supported
> failed: '/usr/bin/cosd -c /etc/ceph/ceph.conf --monmap
> /tmp/mkcephfs.DZdhzxPY5k/monmap.24380 -i 0 --mkfs --osd-data /data/osd0'
>
> Additionally, I checked and /data/osd0 does exist...
Just to eliminate possible causes, can you please list the kernel
version and the ceph version you are using?
Can you show us your config file, and any logs that were written?
> 2) I want to be able to tune Ceph's configuration
> parameters (located in
> config.cc within the Ceph source) and see how each
> configuration change impacts Ceph's performance.
> However, I am not certain how changes in the ceph source
> code will be reflected in the standalone-client in terms of
> Ceph's performance.
> Is there a suggested way I could work to accomplish changing parameters in the
> source in order to have the file system impacted by these changes?
Anything you see in src/common/config.cc as OPTION(...) is editable
via the config file, you don't need to change the source.
If you change the config file (across all nodes), unmount the client,
restart the whole cluster (maybe even reboot for even more predictable
benchmark results), and then mount the client again, changes will have
very definitely been forced into effect; that should give you good,
benchmarkable, numbers.
--
:(){ :|:&};:
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Creating the filesystem and tweaking configurations
2011-03-28 19:54 Creating the filesystem and tweaking configurations Steena Monteiro
[not found] ` <AANLkTi=F9KNJpgTu-TnkaE4R_oFnp03ZBLCDNRTgG1YA@mail.gmail.com>
2011-03-28 20:46 ` Tommi Virtanen
@ 2011-03-28 20:52 ` Sage Weil
[not found] ` <AANLkTimJn0kp4e=CKKdx2g=fDD-JpDPgXwvMqCxFJc8F@mail.gmail.com>
2 siblings, 1 reply; 8+ messages in thread
From: Sage Weil @ 2011-03-28 20:52 UTC (permalink / raw)
To: Steena Monteiro; +Cc: ceph-devel
On Mon, 28 Mar 2011, Steena Monteiro wrote:
> 1) I used apt-get to procure and install Ceph excluding the standalone
> client on
> Lucid Lynx. I obtained built the client using instructions
> on the Ceph wiki and
> it worked fine after I reverted certain commits. However, mkcephfs (from: $
> /usr/sbin/mkcephfs -c /etc/ceph/ceph.conf --allhosts -v) has been breaking:
>
> 2011-03-28 13:23:23.596948 b77b16d0 OSD::mkfs:
> couldn't mount FileStore: error -95
> 2011-03-28 13:23:23.597008 b77b16d0 ** ERROR:
> error creating empty object store
> in /data/osd0: error 95: Operation not supported
> failed: '/usr/bin/cosd -c /etc/ceph/ceph.conf --monmap
> /tmp/mkcephfs.DZdhzxPY5k/monmap.24380 -i 0 --mkfs --osd-data /data/osd0'
>
> Additionally, I checked and /data/osd0 does exist...
That usually means that /data/osd0 is on ext3 and you didn't mount with
user_xattr. The osd log should have a detailed error.
> 2) I want to be able to tune Ceph's configuration
> parameters (located in
> config.cc within the Ceph source) and see how each
> configuration change impacts Ceph's performance.
> However, I am not certain how changes in the ceph source
> code will be reflected in the standalone-client in terms of
> Ceph's performance.
> Is there a suggested way I could work to accomplish changing parameters in the
> source in order to have the file system impacted by these changes?
Everything in config.cc can be set via ceph.conf, so that should save you
some compile time.
Which tunables affect what will depend pretty heavily on the workload
you're testing. The things I would look at first would probably be with
the OSD thread counts,r kernel client readahead, or some of the cache
tunables. IIRC I sent an annotated list of the config options with
comments on which would be good candidates for testing. I suspect
focusing on something specific (say, OSD) would help get the process
sorted out without too many variables.
sage
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-03-28 23:50 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-28 19:54 Creating the filesystem and tweaking configurations Steena Monteiro
[not found] ` <AANLkTi=F9KNJpgTu-TnkaE4R_oFnp03ZBLCDNRTgG1YA@mail.gmail.com>
2011-03-28 20:00 ` Ben De Luca
2011-03-28 20:41 ` Tommi Virtanen
2011-03-28 20:46 ` Ben De Luca
2011-03-28 20:46 ` Tommi Virtanen
2011-03-28 20:52 ` Sage Weil
[not found] ` <AANLkTimJn0kp4e=CKKdx2g=fDD-JpDPgXwvMqCxFJc8F@mail.gmail.com>
2011-03-28 21:21 ` Tommi Virtanen
[not found] ` <AANLkTinjhwqzLs8PLUdnJLAPXwvT-6yRE=6QAx1eE9Xk@mail.gmail.com>
2011-03-28 23:49 ` Tommi Virtanen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.