From: "Sławomir Skowron" <szibis@gmail.com>
To: Gregory Farnum <gregory.farnum@dreamhost.com>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: Two questions
Date: Thu, 28 Jul 2011 09:17:12 +0200 [thread overview]
Message-ID: <-4123305127044475997@unknownmsgid> (raw)
In-Reply-To: <CAF3hT9BbWvztQE=Mn3NW5OQ9ktHAe0AoW6m0aC9WqfyY1b7jBQ@mail.gmail.com>
Dnia 27 lip 2011 o godz. 18:15 Gregory Farnum
<gregory.farnum@dreamhost.com> napisał(a):
> 2011/7/27 Sławomir Skowron <szibis@gmail.com>:
>> 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 ??
>
> 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.
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-07-28 7:17 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-27 5:58 Two questions Sławomir Skowron
2011-07-27 7:14 ` Wido den Hollander
2011-07-27 10:19 ` Sławomir Skowron
2011-07-27 10:47 ` Wido den Hollander
2011-07-27 11:05 ` Sławomir Skowron
2011-07-27 16:15 ` Gregory Farnum
2011-07-28 7:17 ` Sławomir Skowron [this message]
2011-07-28 9:51 ` Sławomir Skowron
2011-07-28 16:36 ` Gregory Farnum
2011-07-29 15:00 ` Sławomir Skowron
2011-07-27 15:56 ` Sage Weil
2011-07-28 7:18 ` Sławomir Skowron
2011-07-28 9:43 ` Sławomir Skowron
-- strict thread matches above, loose matches on Subject: below --
2015-10-28 15:57 Anuz Pratap Singh Tomar
2015-10-28 16:08 ` Albino B Neto
2015-10-28 16:14 ` Anuz Pratap Singh Tomar
2015-10-28 20:21 ` Greg KH
2015-10-28 16:30 ` michi1 at michaelblizek.twilightparadox.com
2005-12-11 0:19 MARG
2005-12-11 0:56 ` Adrian C.
2005-12-11 8:55 ` Glynn Clements
2004-07-03 15:05 two questions kartikey bhatt
2004-07-03 12:53 kartikey bhatt
2004-07-03 13:47 ` Matthias Urlichs
2004-06-19 23:47 Two Questions Arun Sen
2004-06-20 4:42 ` Greg KH
2004-06-20 5:30 ` Arun Sen
2004-06-20 4:52 ` Jesper Juhl
2003-09-05 12:36 two questions pacho baratta
2003-09-05 13:47 ` Glynn Clements
2002-08-10 5:51 Adam Luchjenbroers
2002-08-10 12:31 ` Haines Brown
2002-08-10 14:03 ` szonyi calin
2002-08-10 16:23 ` Jim Reimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=-4123305127044475997@unknownmsgid \
--to=szibis@gmail.com \
--cc=ceph-devel@vger.kernel.org \
--cc=gregory.farnum@dreamhost.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.