Skip to contentSkip to conversation

less cores more iops / speed

pve-devel Stefan Priebe - Profihost AG 3 participants 4 messages Nov 12, 2012 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 9c1ce666-795e-4611-8f2c-af1d85270533@mailpro

#1 lore raw

Adding this to ceph.conf on kvm host adds another 2000 iops (20.000 iop/s with one VM). I'm sure most of them are useless on a client kvm / rbd host but i don't know which one makes sense ;-)

[global]
debug ms = 0/0
debug rbd = 0/0
debug lockdep = 0/0
debug context = 0/0
debug crush = 0/0
debug buffer = 0/0
debug timer = 0/0
debug journaler = 0/0
debug osd = 0/0
debug optracker = 0/0
debug objclass = 0/0
debug filestore = 0/0
debug journal = 0/0
debug ms = 0/0
debug monc = 0/0
debug tp = 0/0
debug auth = 0/0
debug finisher = 0/0
debug heartbeatmap = 0/0
debug perfcounter = 0/0
debug asok = 0/0
debug throttle = 0/0

[client]
debug ms = 0/0
debug rbd = 0/0
debug lockdep = 0/0
debug context = 0/0
debug crush = 0/0
debug buffer = 0/0
debug timer = 0/0
debug journaler = 0/0
debug osd = 0/0
debug optracker = 0/0
debug objclass = 0/0
debug filestore = 0/0
debug journal = 0/0
debug ms = 0/0
debug monc = 0/0
debug tp = 0/0
debug auth = 0/0
debug finisher = 0/0
debug heartbeatmap = 0/0
debug perfcounter = 0/0
debug asok = 0/0
debug throttle = 0/0

Stefan

Am 12.11.2012 15:35, schrieb Alexandre DERUMIER:

Quoted 125 lines

Another idea,

do you have tried to put

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

debug lockdep = 0/0
debug context = 0/0
debug crush = 0/0
debug buffer = 0/0
debug timer = 0/0
debug journaler = 0/0
debug osd = 0/0
debug optracker = 0/0
debug objclass = 0/0
debug filestore = 0/0
debug journal = 0/0
debug ms = 0/0

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

debug monc = 0/0
debug tp = 0/0
debug auth = 0/0
debug finisher = 0/0
debug heartbeatmap = 0/0
debug perfcounter = 0/0
debug asok = 0/0
debug throttle = 0/0

in a ceph.conf on your kvm host ?

----- Mail original -----

De: "Alexandre DERUMIER" <[email protected]> À: "Stefan Priebe - Profihost AG" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 12 Novembre 2012 15:26:36
Objet: Re: [pve-devel] less cores more iops / speed

Maybe some tracing on kvm process could give us clues to find where the cpu is used ?

Also another idea, can you try with "auth supported=none" ? maybe they are some overhead with ceph authenfication ?

----- Mail original -----

De: "Alexandre DERUMIER" <[email protected]> À: "Stefan Priebe - Profihost AG" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 12 Novembre 2012 15:20:07
Objet: Re: [pve-devel] less cores more iops / speed

Ok thanks.

Seem to use a lot of cpu vs nfs,iscsi ...

I hope that ceph dev will work on this soon !

----- Mail original -----

De: "Stefan Priebe - Profihost AG" <[email protected]> À: "Alexandre DERUMIER" <[email protected]>
Cc: "eric" <[email protected]>, [email protected] Envoyé: Lundi 12 Novembre 2012 15:05:08
Objet: Re: [pve-devel] less cores more iops / speed

Am 12.11.2012 13:49, schrieb Alexandre DERUMIER:

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

One VM on one Host: 18.000 IOP/s
Two VM on one Host: 2x11.000 IOP/s
Three VM on one Host: 3x7.000 IOP/s

And host cpu is 100% ?

No. For three VMs yes. For one and two no. I think librbd / rbd implementation in kvm is the bottleneck here.

Stefan

Quoted 15 lines

----- Mail original -----

De: "Stefan Priebe - Profihost AG" <[email protected]> À: "Alexandre DERUMIER" <[email protected]>
Cc: "eric" <[email protected]>, [email protected] Envoyé: Lundi 12 Novembre 2012 12:58:35
Objet: Re: [pve-devel] less cores more iops / speed

Am 12.11.2012 08:51, schrieb Alexandre DERUMIER:

Quoted 5 lines
Quoted 1 line
Quoted 1 line

Right now RBD in KVM is limited by CPU speed.

Good to known, so it's seem lack of threading, or maybe somes locks. (so faster cpu give more iops).

If you lauch parallel fio on same host on different guest, do you get more total iops ? (for me it's scale)

Quoted 33 lines

One VM on one Host: 18.000 IOP/s
Two VM on one Host: 2x11.000 IOP/s
Three VM on one Host: 3x7.000 IOP/s

Quoted 1 line

if you launch 2 parallel fio, on same guest (on differents disk), do you get more iops ? (for me, it doesn't scale, so raid0 in guest doesn't help).

No it doesn't scale.

Stefan

Quoted 24 lines

----- Mail original -----

De: "Stefan Priebe" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>
Cc: "eric" <[email protected]>, [email protected] Envoyé: Dimanche 11 Novembre 2012 13:07:36
Objet: Re: [pve-devel] less cores more iops / speed

Am 11.11.2012 12:12, schrieb Alexandre DERUMIER:

Quoted 1 line

If I remember good, stefan can achieve 100.000 iops with iscsi with same kvm host.

Correct but this was always with scsi-generic and I/O multipathing on host. rbd does not support scsi-generic ;-(

Quoted 1 line

I have checked ceph mailing, stefan seem to have resolved his problem with dual core with bios update !

Correct. So speed on Dual Xeon is now 14.000 IOP/s and 18.000 IOP/s on Single Xeon. But the difference is an issue of the CPU Speed. 3,6Ghz Single Xeon vs. 2.5Ghz Dual Xeon.

Right now RBD in KVM is limited by CPU speed.

Greets,
Stefan

Quoted 9 lines

_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

--
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

A message that is not in the archive (sent off-list or not yet received): 50A116DC.2020509-2Lf/[email protected]

#3 lore raw

maybe this is debug perfcounter ?

----- Mail original -----

De: "Stefan Priebe - Profihost AG" <s.priebe-2Lf/[email protected]>
À: "Alexandre DERUMIER" <aderumier-U/[email protected]>
Cc: pve-devel-KmHT29P9Uc/[email protected], [email protected] Envoyé: Lundi 12 Novembre 2012 16:33:48
Objet: Re: [pve-devel] less cores more iops / speed

Adding this to ceph.conf on kvm host adds another 2000 iops (20.000 iop/s with one VM). I'm sure most of them are useless on a client kvm / rbd host but i don't know which one makes sense ;-)

[global]
debug ms = 0/0
debug rbd = 0/0
debug lockdep = 0/0
debug context = 0/0
debug crush = 0/0
debug buffer = 0/0
debug timer = 0/0
debug journaler = 0/0
debug osd = 0/0
debug optracker = 0/0
debug objclass = 0/0
debug filestore = 0/0
debug journal = 0/0
debug ms = 0/0
debug monc = 0/0
debug tp = 0/0
debug auth = 0/0
debug finisher = 0/0
debug heartbeatmap = 0/0
debug perfcounter = 0/0
debug asok = 0/0
debug throttle = 0/0

[client]
debug ms = 0/0
debug rbd = 0/0
debug lockdep = 0/0
debug context = 0/0
debug crush = 0/0
debug buffer = 0/0
debug timer = 0/0
debug journaler = 0/0
debug osd = 0/0
debug optracker = 0/0
debug objclass = 0/0
debug filestore = 0/0
debug journal = 0/0
debug ms = 0/0
debug monc = 0/0
debug tp = 0/0
debug auth = 0/0
debug finisher = 0/0
debug heartbeatmap = 0/0
debug perfcounter = 0/0
debug asok = 0/0
debug throttle = 0/0

Stefan

Am 12.11.2012 15:35, schrieb Alexandre DERUMIER:

Quoted 125 lines

Another idea,

do you have tried to put

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

debug lockdep = 0/0
debug context = 0/0
debug crush = 0/0
debug buffer = 0/0
debug timer = 0/0
debug journaler = 0/0
debug osd = 0/0
debug optracker = 0/0
debug objclass = 0/0
debug filestore = 0/0
debug journal = 0/0
debug ms = 0/0

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

debug monc = 0/0
debug tp = 0/0
debug auth = 0/0
debug finisher = 0/0
debug heartbeatmap = 0/0
debug perfcounter = 0/0
debug asok = 0/0
debug throttle = 0/0

in a ceph.conf on your kvm host ?

----- Mail original -----

De: "Alexandre DERUMIER" <aderumier-U/[email protected]> À: "Stefan Priebe - Profihost AG" <s.priebe-2Lf/[email protected]>
Cc: pve-devel-KmHT29P9Uc/[email protected]
Envoyé: Lundi 12 Novembre 2012 15:26:36
Objet: Re: [pve-devel] less cores more iops / speed

Maybe some tracing on kvm process could give us clues to find where the cpu is used ?

Also another idea, can you try with "auth supported=none" ? maybe they are some overhead with ceph authenfication ?

----- Mail original -----

De: "Alexandre DERUMIER" <aderumier-U/[email protected]> À: "Stefan Priebe - Profihost AG" <s.priebe-2Lf/[email protected]>
Cc: pve-devel-KmHT29P9Uc/[email protected]
Envoyé: Lundi 12 Novembre 2012 15:20:07
Objet: Re: [pve-devel] less cores more iops / speed

Ok thanks.

Seem to use a lot of cpu vs nfs,iscsi ...

I hope that ceph dev will work on this soon !

----- Mail original -----

De: "Stefan Priebe - Profihost AG" <s.priebe-2Lf/[email protected]>
À: "Alexandre DERUMIER" <aderumier-U/[email protected]>
Cc: "eric" <[email protected]>, pve-devel-KmHT29P9Uc/[email protected] Envoyé: Lundi 12 Novembre 2012 15:05:08
Objet: Re: [pve-devel] less cores more iops / speed

Am 12.11.2012 13:49, schrieb Alexandre DERUMIER:

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

One VM on one Host: 18.000 IOP/s
Two VM on one Host: 2x11.000 IOP/s
Three VM on one Host: 3x7.000 IOP/s

And host cpu is 100% ?

No. For three VMs yes. For one and two no. I think librbd / rbd implementation in kvm is the bottleneck here.

Stefan

Quoted 15 lines

----- Mail original -----

De: "Stefan Priebe - Profihost AG" <s.priebe-2Lf/[email protected]>
À: "Alexandre DERUMIER" <aderumier-U/[email protected]>
Cc: "eric" <[email protected]>, pve-devel-KmHT29P9Uc/[email protected] Envoyé: Lundi 12 Novembre 2012 12:58:35
Objet: Re: [pve-devel] less cores more iops / speed

Am 12.11.2012 08:51, schrieb Alexandre DERUMIER:

Quoted 5 lines
Quoted 1 line
Quoted 1 line

Right now RBD in KVM is limited by CPU speed.

Good to known, so it's seem lack of threading, or maybe somes locks. (so faster cpu give more iops).

If you lauch parallel fio on same host on different guest, do you get more total iops ? (for me it's scale)

Quoted 33 lines

One VM on one Host: 18.000 IOP/s
Two VM on one Host: 2x11.000 IOP/s
Three VM on one Host: 3x7.000 IOP/s

Quoted 1 line

if you launch 2 parallel fio, on same guest (on differents disk), do you get more iops ? (for me, it doesn't scale, so raid0 in guest doesn't help).

No it doesn't scale.

Stefan

Quoted 24 lines

----- Mail original -----

De: "Stefan Priebe" <s.priebe-2Lf/[email protected]>
À: "Alexandre DERUMIER" <aderumier-U/[email protected]>
Cc: "eric" <[email protected]>, pve-devel-KmHT29P9Uc/[email protected] Envoyé: Dimanche 11 Novembre 2012 13:07:36
Objet: Re: [pve-devel] less cores more iops / speed

Am 11.11.2012 12:12, schrieb Alexandre DERUMIER:

Quoted 1 line

If I remember good, stefan can achieve 100.000 iops with iscsi with same kvm host.

Correct but this was always with scsi-generic and I/O multipathing on host. rbd does not support scsi-generic ;-(

Quoted 1 line

I have checked ceph mailing, stefan seem to have resolved his problem with dual core with bios update !

Correct. So speed on Dual Xeon is now 14.000 IOP/s and 18.000 IOP/s on Single Xeon. But the difference is an issue of the CPU Speed. 3,6Ghz Single Xeon vs. 2.5Ghz Dual Xeon.

Right now RBD in KVM is limited by CPU speed.

Greets,
Stefan

Quoted 9 lines

_______________________________________________
pve-devel mailing list
pve-devel-KmHT29P9Uc/[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
_______________________________________________
pve-devel mailing list
pve-devel-KmHT29P9Uc/[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

_______________________________________________
pve-devel mailing list
pve-devel-KmHT29P9Uc/[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

#4 lore raw
In reply to Stefan Priebe - Profihost AG
Quoted 28 lines · Stefan Priebe - Profihost AG

Adding this to ceph.conf on kvm host adds another 2000 iops (20.000 iop/s with one VM). I'm sure most of them are useless on a client kvm / rbd host but i don't know which one makes sense ;-)

[global]
debug ms = 0/0
debug rbd = 0/0
debug lockdep = 0/0
debug context = 0/0
debug crush = 0/0
debug buffer = 0/0
debug timer = 0/0
debug journaler = 0/0
debug osd = 0/0
debug optracker = 0/0
debug objclass = 0/0
debug filestore = 0/0
debug journal = 0/0
debug ms = 0/0
debug monc = 0/0
debug tp = 0/0
debug auth = 0/0
debug finisher = 0/0
debug heartbeatmap = 0/0
debug perfcounter = 0/0
debug asok = 0/0
debug throttle = 0/0

Quoted 1 line

[client]

For the client side you'd these settings to disable all debug logging:

[client]
debug lockdep = 0/0
debug context = 0/0
debug crush = 0/0
debug buffer = 0/0
debug timer = 0/0
debug filer = 0/0
debug objecter = 0/0
debug rados = 0/0
debug rbd = 0/0
debug objectcacher = 0/0
debug client = 0/0
debug ms = 0/0
debug monc = 0/0
debug tp = 0/0
debug auth = 0/0
debug finisher = 0/0
debug perfcounter = 0/0
debug asok = 0/0
debug throttle = 0/0

Josh

Quoted 168 lines

debug ms = 0/0
debug rbd = 0/0
debug lockdep = 0/0
debug context = 0/0
debug crush = 0/0
debug buffer = 0/0
debug timer = 0/0
debug journaler = 0/0
debug osd = 0/0
debug optracker = 0/0
debug objclass = 0/0
debug filestore = 0/0
debug journal = 0/0
debug ms = 0/0
debug monc = 0/0
debug tp = 0/0
debug auth = 0/0
debug finisher = 0/0
debug heartbeatmap = 0/0
debug perfcounter = 0/0
debug asok = 0/0
debug throttle = 0/0

Stefan

Am 12.11.2012 15:35, schrieb Alexandre DERUMIER:

Quoted 133 lines

Another idea,

do you have tried to put

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

debug lockdep = 0/0
debug context = 0/0
debug crush = 0/0
debug buffer = 0/0
debug timer = 0/0
debug journaler = 0/0
debug osd = 0/0
debug optracker = 0/0
debug objclass = 0/0
debug filestore = 0/0
debug journal = 0/0
debug ms = 0/0

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

debug monc = 0/0
debug tp = 0/0
debug auth = 0/0
debug finisher = 0/0
debug heartbeatmap = 0/0
debug perfcounter = 0/0
debug asok = 0/0
debug throttle = 0/0

in a ceph.conf on your kvm host ?

----- Mail original -----

De: "Alexandre DERUMIER" <[email protected]> À: "Stefan Priebe - Profihost AG" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 12 Novembre 2012 15:26:36
Objet: Re: [pve-devel] less cores more iops / speed

Maybe some tracing on kvm process could give us clues to find where the cpu is used ?

Also another idea, can you try with "auth supported=none" ? maybe they are some overhead with ceph authenfication ?

----- Mail original -----

De: "Alexandre DERUMIER" <[email protected]> À: "Stefan Priebe - Profihost AG" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 12 Novembre 2012 15:20:07
Objet: Re: [pve-devel] less cores more iops / speed

Ok thanks.

Seem to use a lot of cpu vs nfs,iscsi ...

I hope that ceph dev will work on this soon !

----- Mail original -----

De: "Stefan Priebe - Profihost AG" <[email protected]> À: "Alexandre DERUMIER" <[email protected]>
Cc: "eric" <[email protected]>, [email protected] Envoyé: Lundi 12 Novembre 2012 15:05:08
Objet: Re: [pve-devel] less cores more iops / speed

Am 12.11.2012 13:49, schrieb Alexandre DERUMIER:

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

One VM on one Host: 18.000 IOP/s
Two VM on one Host: 2x11.000 IOP/s
Three VM on one Host: 3x7.000 IOP/s

And host cpu is 100% ?

No. For three VMs yes. For one and two no. I think librbd / rbd implementation in kvm is the bottleneck here.

Stefan

Quoted 21 lines

----- Mail original -----

De: "Stefan Priebe - Profihost AG" <[email protected]> À: "Alexandre DERUMIER" <[email protected]>
Cc: "eric" <[email protected]>, [email protected] Envoyé: Lundi 12 Novembre 2012 12:58:35
Objet: Re: [pve-devel] less cores more iops / speed

Am 12.11.2012 08:51, schrieb Alexandre DERUMIER:

Quoted 7 lines
Quoted 1 line
Quoted 1 line

Right now RBD in KVM is limited by CPU speed.

Good to known, so it's seem lack of threading, or maybe somes locks. (so faster cpu give more iops).

If you lauch parallel fio on same host on different guest, do you get more total iops ? (for me it's scale)

One VM on one Host: 18.000 IOP/s
Two VM on one Host: 2x11.000 IOP/s
Three VM on one Host: 3x7.000 IOP/s

Quoted 33 lines
Quoted 3 lines

if you launch 2 parallel fio, on same guest (on differents disk), do you get more iops ? (for me, it doesn't scale, so raid0 in guest doesn't help).

No it doesn't scale.

Stefan

Quoted 26 lines

----- Mail original -----

De: "Stefan Priebe" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>
Cc: "eric" <[email protected]>, [email protected] Envoyé: Dimanche 11 Novembre 2012 13:07:36
Objet: Re: [pve-devel] less cores more iops / speed

Am 11.11.2012 12:12, schrieb Alexandre DERUMIER:

Quoted 2 lines

If I remember good, stefan can achieve 100.000 iops with iscsi with same kvm host.

Correct but this was always with scsi-generic and I/O multipathing on host. rbd does not support scsi-generic ;-(

Quoted 2 lines

I have checked ceph mailing, stefan seem to have resolved his problem with dual core with bios update !

Correct. So speed on Dual Xeon is now 14.000 IOP/s and 18.000 IOP/s on Single Xeon. But the difference is an issue of the CPU Speed. 3,6Ghz Single Xeon vs. 2.5Ghz Dual Xeon.

Right now RBD in KVM is limited by CPU speed.

Greets,
Stefan

Quoted 9 lines

_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Quoted 4 lines

--
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

#5 lore raw

Hi Josh,

Quoted 1 line

For the client side you'd these settings to disable all debug logging:

...

Thanks!

Stefan