Skip to contentSkip to conversation

Is ceph cluster time sensitive

DISCUSSION Madhusudhan 2 participants 4 messages Mar 9, 2012

lore
Share & tools
lore
#0 lore raw

Hi all,
Just wanted to know if ceph cluster is time sensitive. will there be any issue if the date and time differs between client machine and ceph cluster? do their time has to be in sync to work properly? if time differs, will there be any performance issue ?

Any plans to include exports/quotas in ceph file system ? it will be a beauty if we have above to options, so that the space in ceph cluster can be effectively allocated to client system.

#1 lore raw
Quoted 5 lines · Madhusudhan

Hi all,
Just wanted to know if ceph cluster is time sensitive. will there be any issue if the date and time differs between client machine and ceph cluster? do their time has to be in sync to work properly? if time differs, will there be any performance issue ?

It is time sensitive. You currently need to have (reasonably well) synchronized clocks. At the very minimum, the ceph-mon daemons need to run on machines with good time. There are also some oddities that can occur if the fs client doesn't match the metadata server... At some point we'll take a closer look at what we can do to make that less of a problem, but for now things will be a bit wonky.

Quoted 3 lines

Any plans to include exports/quotas in ceph file system ? it will be a beauty if we have above to options, so that the space in ceph cluster can be effectively allocated to client system.

I'm not sure what you mean by exports, but quotas will be added eventually. Again, it's a ways out.

sage

#2 lore raw
Quoted 8 lines · Sage Weil <sage <at> newdream.net> writes:
Quoted 5 lines · Madhusudhan

Hi all,
Just wanted to know if ceph cluster is time sensitive. will there be any issue if the date and time differs between client machine and ceph cluster? do their time has to be in sync to work properly? if time differs, will there be any performance issue ?

Quoted 6 lines

It is time sensitive. You currently need to have (reasonably well) synchronized clocks. At the very minimum, the ceph-mon daemons need to run on machines with good time. There are also some oddities that can occur if the fs client doesn't match the metadata server... At some point we'll take a closer look at what we can do to make that less of a problem, but for now things will be a bit wonky.

Thank you Sage.
Currenlty all nodes in ceph cluster are having a set of time set on them and client is having a different time. Below is example

Date in one of ceph node :
[root@ceph-node-5 ~]# date
Fri Mar 9 08:41:39 PST 2012

Date in the client machine :
[root@my_client_10 ~]# date
Fri Mar 9 22:12:02 IST 2012

Will this difference cause performance issue ?

Quoted 10 lines
Quoted 4 lines

Any plans to include exports/quotas in ceph file system ? it will be a beauty if we have above to options, so that the space in ceph cluster can be effectively allocated to client system.

I'm not sure what you mean by exports, but quotas will be added eventually. Again, it's a ways out.

sage

when i said exports, i mean to say about unix exports, where i can export individual directories/sub-directories to different hosts in different subnets.

As a NAS admin, i make use exports a lot. Some time we have to export a directory to certain subnet and some time to a different subnet.

Quoted 6 lines

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo <at> vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 26 lines · Madhusudhan
Quoted 8 lines · Sage Weil <sage <at> newdream.net> writes:
Quoted 5 lines · Madhusudhan

Hi all,
Just wanted to know if ceph cluster is time sensitive. will there be any issue if the date and time differs between client machine and ceph cluster? do their time has to be in sync to work properly? if time differs, will there be any performance issue ?

Quoted 6 lines

It is time sensitive. You currently need to have (reasonably well) synchronized clocks. At the very minimum, the ceph-mon daemons need to run on machines with good time. There are also some oddities that can occur if the fs client doesn't match the metadata server... At some point we'll take a closer look at what we can do to make that less of a problem, but for now things will be a bit wonky.

Thank you Sage.
Currenlty all nodes in ceph cluster are having a set of time set on them and client is having a different time. Below is example

Date in one of ceph node :
[root@ceph-node-5 ~]# date
Fri Mar 9 08:41:39 PST 2012

Quoted 5 lines

Date in the client machine :
[root@my_client_10 ~]# date
Fri Mar 9 22:12:02 IST 2012

Will this difference cause performance issue ?

I can't think how right now, but I may be missing something. It's hard to tell why things are slow without knowing more about the cluster, load, workoad, etc.

A good sanity check is to run rados bench from a client node to see the raw write throughput you can get. Something like 'rados -p rbd bench 60 write'.

Quoted 11 lines
Quoted 10 lines
Quoted 4 lines

Any plans to include exports/quotas in ceph file system ? it will be a beauty if we have above to options, so that the space in ceph cluster can be effectively allocated to client system.

I'm not sure what you mean by exports, but quotas will be added eventually. Again, it's a ways out.

sage

Quoted 6 lines

when i said exports, i mean to say about unix exports, where i can export individual directories/sub-directories to different hosts in different subnets.

As a NAS admin, i make use exports a lot. Some time we have to export a directory to certain subnet and some time to a different subnet.

Oh. Yeah, that's also on the roadmap, although again all the fs stuff is a ways out.

sage

Quoted 18 lines
Quoted 7 lines

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo <at> 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html