Two questions
Hello. I have some questions.
1. Is there any chance to change default 4MB object size to for example 1MB or less ??
2. I have create cluster of two mons, and 32 osd (1TB each) on two machines. At this radosgw with apache2 for test. When i putting data from s3 client to rados, everything is ok, but when one of osd is going down all s3 clients going to be freeze for some seconds, before ceph sign this osd as down, and then everything is starting working again wit degraded osd. How can i tune this marking as a down for ms or 0 :) and not for seconds freeze ??
My setup is debian 6.0, kernel 2.6.37.6 x86_64 and ceph version 0.31-10 from stable repo.
Best regards
Slawomir Skowron
Hi,
Quoted 4 lines · Sławomir Skowron
Hello. I have some questions.
1. Is there any chance to change default 4MB object size to for example 1MB or less ??
If you are using the filesystem, you can change the stripe-size per directory with the "cephfs" tool.
Quoted 8 lines
2. I have create cluster of two mons, and 32 osd (1TB each) on two machines. At this radosgw with apache2 for test. When i putting data from s3 client to rados, everything is ok, but when one of osd is going down all s3 clients going to be freeze for some seconds, before ceph sign this osd as down, and then everything is starting working again wit degraded osd. How can i tune this marking as a down for ms or 0 :) and not for seconds freeze ??
Normally a OSD should be down within about 10 seconds and shouldn't affect all I/O operations.
By default it takes 300 seconds before a OSD gets marked as "out", this is handled by "mon osd down out interval"
If you want to change the "down" reporting behaviour you could do this with "osd min down reporters" and "osd min down reports". I'm not sure you really want to do this, as the default values should be ok.
Wido
Quoted 11 lines
My setup is debian 6.0, kernel 2.6.37.6
x86_64and ceph version 0.31-10 from stable repo.Best regards
Slawomir Skowron
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks.
2011/7/27 Wido den Hollander <[email protected]>:
Quoted 10 lines
Hi,
Quoted 4 lines · Sławomir Skowron
Hello. I have some questions.
1. Is there any chance to change default 4MB object size to for example 1MB or less ??
If you are using the filesystem, you can change the stripe-size per directory with the "cephfs" tool.
Unfortunately i only use rados layer in this case, and i even don't have any mds :) is there any chance to change this in rados layer ??
Quoted 12 lines
Quoted 8 lines
2. I have create cluster of two mons, and 32 osd (1TB each) on two machines. At this radosgw with apache2 for test. When i putting data from s3 client to rados, everything is ok, but when one of osd is going down all s3 clients going to be freeze for some seconds, before ceph sign this osd as down, and then everything is starting working again wit degraded osd. How can i tune this marking as a down for ms or 0 :) and not for seconds freeze ??
Normally a OSD should be down within about 10 seconds and shouldn't affect all I/O operations.
Quoted 6 lines
By default it takes 300 seconds before a OSD gets marked as "out", this is handled by "mon osd down out interval"
If you want to change the "down" reporting behaviour you could do this with "osd min down reporters" and "osd min down reports". I'm not sure you really want to do this, as the default values should be ok.
Ok. I will check this.
Quoted 16 lines
Wido
Quoted 11 lines
My setup is debian 6.0, kernel 2.6.37.6 x86_64 and ceph version 0.31-10 from stable repo.
Best regards
Slawomir Skowron
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 8 lines
----- Pozdrawiam Sławek "sZiBis" Skowron -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi,
Quoted 8 lines · Sławomir Skowron
Thanks.
2011/7/27 Wido den Hollander <[email protected]>:
Quoted 5 lines
Hi,
Quoted 2 lines · Sławomir Skowron
Hello. I have some questions.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
1. Is there any chance to change default 4MB object size to for example 1MB or less ??
If you are using the filesystem, you can change the stripe-size per directory with the "cephfs" tool.
Unfortunately i only use rados layer in this case, and i even don't have any mds :) is there any chance to change this in rados layer ??
The RADOS gateway does NOT stripe over multiple objects. If you upload a 1GB object through the RADOS gateway it will be a 1GB object.
Only the RBD (Rados Block Device) and the Ceph filesystem do striping over RADOS objects.
RADOS itself doesn't stripe and the RADOS gateway is a almost 1:1 mapping of pools and objects.
Wido
Quoted 13 lines
Quoted 13 lines
Quoted 9 lines
2. I have create cluster of two mons, and 32 osd (1TB each) on two machines. At this radosgw with apache2 for test. When i putting data from s3 client to rados, everything is ok, but when one of osd is going down all s3 clients going to be freeze for some seconds, before ceph sign this osd as down, and then everything is starting working again wit degraded osd. How can i tune this marking as a down for ms or 0 :) and not for seconds freeze ??
Normally a OSD should be down within about 10 seconds and shouldn't affect all I/O operations.
Quoted 26 lines
Quoted 6 lines
By default it takes 300 seconds before a OSD gets marked as "out", this is handled by "mon osd down out interval"
If you want to change the "down" reporting behaviour you could do this with "osd min down reporters" and "osd min down reports". I'm not sure you really want to do this, as the default values should be ok.
Ok. I will check this.
Quoted 16 lines
Wido
Quoted 11 lines
My setup is debian 6.0, kernel 2.6.37.6
x86_64and ceph version 0.31-10 from stable repo.Best regards
Slawomir Skowron
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Ok, I will show example:
rados df
pool name KB objects clones degraded
unfound rd rd KB wr wr KB
.log 558212 5 0 0
0 0 0 2844888 2844888
.pool 1 1 0 0 0 0 0 8 8
.rgw 0 6 0 0
0 0 0 1 0
.users 1 1 0 0
0 0 0 1 1
.users.email 1 1 0 0
0 0 0 1 1
.users.uid 2 2 0 0
0 1 0 2 2
data 0 0 0 0
0 0 0 0 0
metadata 0 0 0 0
0 0 0 0 0
rbd 0 0 0 0
0 0 0 0 0
sstest 32244226 2841055 0 653353
0 0 0 17066724 32370391 total used 324792996 2841071
total avail 31083452176
total space 33043244460
It means I have almost 3mln of objects in sstest.
pg_pool 7 'sstest' pg_pool(rep pg_size 3 crush_ruleset 0 object_hash rjenkins pg_num 8 pgp_num 8 lpg_num 0 lpgp_num 0 last_change 21 owner
0)
3 copies in this pool.
sstest used 32.244.226 KB + log 558.212 KB = 32.802.438 KB
Total used is 324.792.996 KB and it's almost 10x more.
2011-07-27 12:57:35.541556 pg v54158: 6986 pgs: 8 active, 6978
active+clean; 32104 MB data, 310 GB used, 29642 GB / 31512 GB avail;
I'am putting files beetwen 4-50KB on RADOS via s3 clilent, and radosgw.
Can you explain that to me on this example from real life ??
2011/7/27 Wido den Hollander <[email protected]>:
Quoted 73 lines
Hi,
Quoted 8 lines · Sławomir Skowron
Thanks.
2011/7/27 Wido den Hollander <[email protected]>:
Quoted 5 lines
Hi,
Quoted 2 lines · Sławomir Skowron
Hello. I have some questions.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
1. Is there any chance to change default 4MB object size to for example 1MB or less ??
If you are using the filesystem, you can change the stripe-size per directory with the "cephfs" tool.
Unfortunately i only use rados layer in this case, and i even don't have any mds :) is there any chance to change this in rados layer ??
The RADOS gateway does NOT stripe over multiple objects. If you upload a 1GB object through the RADOS gateway it will be a 1GB object.
Only the RBD (Rados Block Device) and the Ceph filesystem do striping over RADOS objects.
RADOS itself doesn't stripe and the RADOS gateway is a almost 1:1 mapping of pools and objects.
Wido
Quoted 39 lines
Quoted 13 lines
Quoted 9 lines
2. I have create cluster of two mons, and 32 osd (1TB each) on two machines. At this radosgw with apache2 for test. When i putting data from s3 client to rados, everything is ok, but when one of osd is going down all s3 clients going to be freeze for some seconds, before ceph sign this osd as down, and then everything is starting working again wit degraded osd. How can i tune this marking as a down for ms or 0 :) and not for seconds freeze ??
Normally a OSD should be down within about 10 seconds and shouldn't affect all I/O operations.
Quoted 6 lines
By default it takes 300 seconds before a OSD gets marked as "out", this is handled by "mon osd down out interval"
If you want to change the "down" reporting behaviour you could do this with "osd min down reporters" and "osd min down reports". I'm not sure you really want to do this, as the default values should be ok.
Ok. I will check this.
Quoted 16 lines
Wido
Quoted 11 lines
My setup is debian 6.0, kernel 2.6.37.6 x86_64 and ceph version 0.31-10 from stable repo.
Best regards
Slawomir Skowron
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 8 lines
----- Pozdrawiam Sławek "sZiBis" Skowron -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
2011/7/27 Sławomir Skowron <[email protected]>:
Quoted 41 lines
Ok, I will show example:
rados df
pool name KB objects clones degraded unfound rd rd KB wr wr KB .log 558212 5 0 0 0 0 0 2844888 2844888 .pool 1 1 0 0 0 0 0 8 8 .rgw 0 6 0 0 0 0 0 1 0 .users 1 1 0 0 0 0 0 1 1 .users.email 1 1 0 0 0 0 0 1 1 .users.uid 2 2 0 0 0 1 0 2 2 data 0 0 0 0 0 0 0 0 0 metadata 0 0 0 0 0 0 0 0 0 rbd 0 0 0 0 0 0 0 0 0 sstest 32244226 2841055 0 653353 0 0 0 17066724 32370391 total used 324792996 2841071
total avail 31083452176
total space 33043244460It means I have almost 3mln of objects in sstest.
pg_pool7 'sstest' pg_pool(reppg_size3crush_ruleset0object_hashrjenkinspg_num8pgp_num8lpg_num0lpgp_num0last_change21 owner
0)3 copies in this pool.
sstest used 32.244.226 KB + log 558.212 KB = 32.802.438 KB
Total used is 324.792.996 KB and it's almost 10x more.
Quoted 7 lines
2011-07-27 12:57:35.541556 pg v54158: 6986 pgs: 8 active, 6978active+clean; 32104 MB data, 310 GB used, 29642 GB / 31512 GB avail;
I'am putting files beetwen 4-50KB on RADOS via s3 clilent, and radosgw.
Can you explain that to me on this example from real life ??
Hmm, what underlying filesystem are you using? Do you have any logging enabled, and what disk is it logging to? Are all your OSDs running under the same OS, or are they in virtual machines?
If I remember correctly, that "total used" count is generated by looking at df or something for the drives in question -- if there's other data on the same drive as the OSD, it'll get (admittedly incorrectly) counted as part of the "total used" by RADOS even if RADOS can't touch it.
-Greg
Dnia 27 lip 2011 o godz. 18:15 Gregory Farnum
<[email protected]> napisał(a):
Quoted 45 lines
2011/7/27 Sławomir Skowron <[email protected]>:
Quoted 44 lines
Ok, I will show example:
rados df
pool name KB objects clones degraded
unfound rd rd KB wr wr KB
.log 558212 5 0 00 0 0 2844888 2844888.pool 1 1 0 0
0 0 0 8 8
.rgw 0 6 0 0
0 0 0 1 0
.users 1 1 0 0
0 0 0 1 1
.users.email 1 1 0 0
0 0 0 1 1
.users.uid 2 2 0 0
0 1 0 2 2
data 0 0 0 0
0 0 0 0 0
metadata 0 0 0 0
0 0 0 0 0
rbd 0 0 0 0
0 0 0 0 0
sstest 32244226 2841055 0 6533530 0 0 17066724 32370391total used 324792996 2841071
total avail 31083452176
total space 33043244460It means I have almost 3mln of objects in sstest.
pg_pool7 'sstest' pg_pool(reppg_size3crush_ruleset0object_hashrjenkinspg_num8pgp_num8lpg_num0lpgp_num0last_change21 owner
0)3 copies in this pool.
sstest used 32.244.226 KB + log 558.212 KB = 32.802.438 KB
Total used is 324.792.996 KB and it's almost 10x more.
2011-07-27 12:57:35.541556 pg v54158: 6986 pgs: 8 active, 6978active+clean; 32104 MB data, 310 GB used, 29642 GB / 31512 GB avail;
Quoted 8 lines
Quoted 4 lines
I'am putting files beetwen 4-50KB on RADOS via s3 clilent, and radosgw.
Can you explain that to me on this example from real life ??
Hmm, what underlying filesystem are you using? Do you have any logging enabled, and what disk is it logging to? Are all your OSDs running under the same OS, or are they in virtual machines?
I use ext4. I have loging enabled in osd and mon for most everything in 20. Every osd is running on same version of debian 6 booted from network. In my testing case i use two machines and they are using the same configuration and system.
They are not a VM's.
Quoted 6 lines
If I remember correctly, that "total used" count is generated by looking at df or something for the drives in question -- if there's other data on the same drive as the OSD, it'll get (admittedly incorrectly) counted as part of the "total used" by RADOS even if RADOS can't touch it.
-Greg
Every machine setup is same and looks like this:
2 x 300GB SAS -> hardware RAID1 -> root filesystem and ceph logs in /var/log/(osd,mon)
12 x 2TB SATA -> hardware RAID5 + 1 Spare -> 16 x 1TB (raid usable space is bigger) ceph osd mounted as ext4 in /data/osd.(osd id)
For test only i run journal in the same lun as the osd, because two SAS drives is not enough, but in real scenario system will run on one SAS drive for OS, journals on one SSD, and rest on SATA drives, or system and journals on RAID 1 SSD drives.
If i count journals on two machines it 32 x 512MB, and its only 16GB more in rados df in calculation. Where is more ??
With regards
Slawomir Skowron
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
2011/7/28 Sławomir Skowron <[email protected]>:
Quoted 57 lines
Dnia 27 lip 2011 o godz. 18:15 Gregory Farnum
<[email protected]> napisał(a):Quoted 45 lines
2011/7/27 Sławomir Skowron <[email protected]>:
Quoted 44 lines
Ok, I will show example:
rados df
pool name KB objects clones degraded unfound rd rd KB wr wr KB .log 558212 5 0 0 0 0 0 2844888 2844888 .pool 1 1 0 0 0 0 0 8 8 .rgw 0 6 0 0 0 0 0 1 0 .users 1 1 0 0 0 0 0 1 1 .users.email 1 1 0 0 0 0 0 1 1 .users.uid 2 2 0 0 0 1 0 2 2 data 0 0 0 0 0 0 0 0 0 metadata 0 0 0 0 0 0 0 0 0 rbd 0 0 0 0 0 0 0 0 0 sstest 32244226 2841055 0 653353 0 0 0 17066724 32370391 total used 324792996 2841071
total avail 31083452176
total space 33043244460It means I have almost 3mln of objects in sstest.
pg_pool7 'sstest' pg_pool(reppg_size3crush_ruleset0object_hashrjenkinspg_num8pgp_num8lpg_num0lpgp_num0last_change21 owner
0)3 copies in this pool.
sstest used 32.244.226 KB + log 558.212 KB = 32.802.438 KB
Total used is 324.792.996 KB and it's almost 10x more.
2011-07-27 12:57:35.541556 pg v54158: 6986 pgs: 8 active, 6978active+clean; 32104 MB data, 310 GB used, 29642 GB / 31512 GB avail;
Quoted 8 lines
Quoted 4 lines
I'am putting files beetwen 4-50KB on RADOS via s3 clilent, and radosgw.
Can you explain that to me on this example from real life ??
Hmm, what underlying filesystem are you using? Do you have any logging enabled, and what disk is it logging to? Are all your OSDs running under the same OS, or are they in virtual machines?
Quoted 11 lines
I use ext4. I have loging enabled in osd and mon for most everything in 20. Every osd is running on same version of debian 6 booted from network. In my testing case i use two machines and they are using the same configuration and system.
They are not a VM's.Quoted 5 lines
If I remember correctly, that "total used" count is generated by looking at df or something for the drives in question -- if there's other data on the same drive as the OSD, it'll get (admittedly incorrectly) counted as part of the "total used" by RADOS even if RADOS can't touch it.
When you write this i check something and i think it is what you suggest.
Because of my test before i mount ext4 filesystems in /data/osd.(osd id), but /data was a symlink to /var/data/ and i think total used space was higher by a size of var, and there are logs, lots of logs :). Ceph produce many logs in such verbosity. Tell me if im wrong.
Now its look like this, and it's looks better :)
2011-07-28 11:44:08.227278 pg v110939: 6986 pgs: 8 active, 6978
active+clean; 42441 MB data, 223 GB used, 29457 GB / 31240 GB avail
rados df
pool name KB objects clones degraded
unfound rd rd KB wr wr KB
.log 694273 6 0 0
0 0 0 3539909 3539909
.pool 1 1 0 0 0 0 0 8 8
.rgw 0 6 0 0
0 0 0 1 0
.users 1 1 0 0
0 0 0 1 1
.users.email 1 1 0 0
0 0 0 1 1
.users.uid 2 2 0 0
0 1 0 2 2
data 0 0 0 0
0 0 0 0 0
metadata 0 0 0 0
0 0 0 0 0
rbd 0 0 0 0
0 0 0 0 0
sstest 42766318 3483690 0 0
0 0 0 20922736 42892546 total used 234415408 3483707
total avail 30888365376
total space 32757780072
Quoted 20 lines
Quoted 1 line
-Greg
Every machine setup is same and looks like this:
2 x 300GB SAS -> hardware RAID1 -> root filesystem and ceph logs in /var/log/(osd,mon)
12 x 2TB SATA -> hardware RAID5 + 1 Spare -> 16 x 1TB (raid usable space is bigger) ceph osd mounted as ext4 in /data/osd.(osd id)For test only i run journal in the same lun as the osd, because two SAS drives is not enough, but in real scenario system will run on one SAS drive for OS, journals on one SSD, and rest on SATA drives, or system and journals on RAID 1 SSD drives.
If i count journals on two machines it 32 x 512MB, and its only 16GB more in rados df in calculation. Where is more ??
With regards
Slawomir Skowron
Signature · 8 lines
----- Pozdrawiam Sławek "sZiBis" Skowron -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
2011/7/28 Sławomir Skowron <[email protected]>:
Quoted 28 lines
Because of my test before i mount ext4 filesystems in /data/osd.(osd id), but /data was a symlink to
/var/data/and i think total used space was higher by a size of var, and there are logs, lots of logs :). Ceph produce many logs in such verbosity. Tell me if im wrong.Now its look like this, and it's looks better :)
2011-07-28 11:44:08.227278 pg v110939: 6986 pgs: 8 active, 6978active+clean; 42441 MB data, 223 GB used, 29457 GB / 31240 GB avail
rados df
pool name KB objects clones degraded unfound rd rd KB wr wr KB .log 694273 6 0 0 0 0 0 3539909 3539909 .pool 1 1 0 0 0 0 0 8 8 .rgw 0 6 0 0 0 0 0 1 0 .users 1 1 0 0 0 0 0 1 1 .users.email 1 1 0 0 0 0 0 1 1 .users.uid 2 2 0 0 0 1 0 2 2 data 0 0 0 0 0 0 0 0 0 metadata 0 0 0 0
Quoted 8 lines
0 0 0 0 0 rbd 0 0 0 0 0 0 0 0 0 sstest 42766318 3483690 0 0 0 0 0 20922736 42892546 total used 234415408 3483707
total avail 30888365376
total space 32757780072
Okay, so now you've got (42766318+694273)*3KB=124GB of data, and 223GB used. I guess your OSD journals are 512MB each, so that's another 16GB, which still leaves more unexplained space usage than I would expect.
But it's probably just some peculiarity of how your system is set up; you could check and see how the numbers change when you add new objects to the system to make sure it's just a base case rather than something to worry about. :)
-Greg
Yes i have made a test, and now everything is ok. Thanks for help.
iSS
Dnia 28 lip 2011 o godz. 18:36 Gregory Farnum
<[email protected]> napisał(a):
Quoted 38 lines
2011/7/28 Sławomir Skowron <[email protected]>:
Quoted 32 lines
Because of my test before i mount ext4 filesystems in /data/osd.(osd id), but /data was a symlink to
/var/data/and i think total used space was higher by a size of var, and there are logs, lots of logs :). Ceph produce many logs in such verbosity. Tell me if im wrong.Now its look like this, and it's looks better :)
2011-07-28 11:44:08.227278 pg v110939: 6986 pgs: 8 active, 6978active+clean; 42441 MB data, 223 GB used, 29457 GB / 31240 GB avail
rados df
pool name KB objects clones degraded
unfound rd rd KB wr wr KB
.log 694273 6 0 00 0 0 3539909 3539909.pool 1 1 0 0
0 0 0 8 8
.rgw 0 6 0 0
0 0 0 1 0
.users 1 1 0 0
0 0 0 1 1
.users.email 1 1 0 0
0 0 0 1 1
.users.uid 2 2 0 0
0 1 0 2 2
data 0 0 0 0
0 0 0 0 0
metadata 0 0 0 0
0 0 0 0 0
rbd 0 0 0 0
0 0 0 0 0
sstest 42766318 3483690 0 0Quoted 4 lines
0 0 0 20922736 42892546total used 234415408 3483707
total avail 30888365376
total space 32757780072
Quoted 9 lines
Okay, so now you've got (42766318+694273)*3KB=124GB of data, and 223GB used. I guess your OSD journals are 512MB each, so that's another 16GB, which still leaves more unexplained space usage than I would expect.
But it's probably just some peculiarity of how your system is set up; you could check and see how the numbers change when you add new objects to the system to make sure it's just a base case rather than something to worry about. :)
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · S?awomir Skowron
Hello. I have some questions.
1. Is there any chance to change default 4MB object size to for example 1MB or less ??
Yeah. You can use the cephfs to set the default layout on the root directory, which will apply to any new files. See 'man cephfs'.
Quoted 7 lines
2. I have create cluster of two mons, and 32 osd (1TB each) on two machines. At this radosgw with apache2 for test. When i putting data from s3 client to rados, everything is ok, but when one of osd is going down all s3 clients going to be freeze for some seconds, before ceph sign this osd as down, and then everything is starting working again wit degraded osd. How can i tune this marking as a down for ms or 0 :) and not for seconds freeze ??
The 'osd heartbeat grace' defualt is 20. Stick something like
osd heartbeat grace = 5
in the [osd] section of your ceph.conf.
sage
Dnia 27 lip 2011 o godz. 17:52 Sage Weil <[email protected]> napisał(a):
Quoted 8 lines · S?awomir Skowron
Quoted 4 lines
Hello. I have some questions.
1. Is there any chance to change default 4MB object size to for example 1MB or less ??
Yeah. You can use the cephfs to set the default layout on the root directory, which will apply to any new files. See 'man cephfs'.
Ok. Thanks.
Quoted 8 lines
Quoted 7 lines
2. I have create cluster of two mons, and 32 osd (1TB each) on two machines. At this radosgw with apache2 for test. When i putting data from s3 client to rados, everything is ok, but when one of osd is going down all s3 clients going to be freeze for some seconds, before ceph sign this osd as down, and then everything is starting working again wit degraded osd. How can i tune this marking as a down for ms or 0 :) and not for seconds freeze ??
Quoted 5 lines
The 'osd heartbeat grace' defualt is 20. Stick something like
osd heartbeat grace = 5
in the [osd] section of your ceph.conf
Thanks, i will check this in work.
Quoted 2 lines
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
2011/7/28 Sławomir Skowron <[email protected]>:
Quoted 21 lines
Dnia 27 lip 2011 o godz. 17:52 Sage Weil <[email protected]> napisał(a):
Quoted 8 lines · S?awomir Skowron
Quoted 4 lines
Hello. I have some questions.
1. Is there any chance to change default 4MB object size to for example 1MB or less ??
Yeah. You can use the cephfs to set the default layout on the root directory, which will apply to any new files. See 'man cephfs'.
Ok. Thanks.
Quoted 8 lines
Quoted 7 lines
2. I have create cluster of two mons, and 32 osd (1TB each) on two machines. At this radosgw with apache2 for test. When i putting data from s3 client to rados, everything is ok, but when one of osd is going down all s3 clients going to be freeze for some seconds, before ceph sign this osd as down, and then everything is starting working again wit degraded osd. How can i tune this marking as a down for ms or 0 :) and not for seconds freeze ??
Quoted 7 lines
Quoted 5 lines
The 'osd heartbeat grace' defualt is 20. Stick something like
osd heartbeat grace = 5
in the [osd] section of your ceph.conf
Thanks, i will check this in work.
It works perfect thanks a lot
Quoted 4 lines
Quoted 3 lines
sage
Signature · 8 lines
----- Pozdrawiam Sławek "sZiBis" Skowron -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html