[pve-devel] pveceph : disabling cephx auth + debug when we init ceph.conf ?

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Apr 20 14:21:38 CEST 2017


On Thu, Apr 20, 2017 at 08:02:48AM +0200, Alexandre DERUMIER wrote:
> Hi,
> 
> to have good performance with ceph, they are 2 boosts possible:
> Maybe we could add them as command option in ceph init ?
> 
> 
> 1)disabling cephx auth.
> 
> [global]
> 
> auth_cluster_required = none
> auth_service_required = none
> auth_client_required = none
> 
> 
> 
> - I always disabling them on my cluster, it's give me around 20% extra boost on 4k iops.
> 
> and don't require to put the key in /etc/pve/priv/ceph/.
> 
> I running all my cluster like this since years.
> 
> Of course, for security, user need to have their ceph cluster on a private network.
> 
> 

I think this is reasonable (as opt-in).

> 
> 2) disable debug log,
> 
> give me another 15-20% extra boost
> 
> 
> [global]
>  debug asok = 0/0
>  debug auth = 0/0
>  debug buffer = 0/0
>  debug client = 0/0
>  debug context = 0/0
>  debug crush = 0/0
>  debug filer = 0/0
>  debug filestore = 0/0
>  debug finisher = 0/0
>  debug heartbeatmap = 0/0
>  debug journal = 0/0
>  debug journaler = 0/0
>  debug lockdep = 0/0
>  debug mds = 0/0
>  debug mds balancer = 0/0
>  debug mds locker = 0/0
>  debug mds log = 0/0
>  debug mds log expire = 0/0
>  debug mds migrator = 0/0
>  debug mon = 0/0
>  debug monc = 0/0
>  debug ms = 0/0
>  debug objclass = 0/0
>  debug objectcacher = 0/0
>  debug objecter = 0/0
>  debug optracker = 0/0
>  debug osd = 0/0
>  debug paxos = 0/0
>  debug perfcounter = 0/0
>  debug rados = 0/0
>  debug rbd = 0/0
>  debug rgw = 0/0
>  debug throttle = 0/0
>  debug timer = 0/0
>  debug tp = 0/0

this could be enabled by default, although I think it's a pity that this
is still the strange default upstream behaviour..




More information about the pve-devel mailing list