Performance degrad on big cluster

2015-07-24 Thread juncheng bai
Hi all, We meet a performance degrad in one of our cluster. Our randwrite latency degraded from 1ms to 5ms(fio -ioengine=rbd iodepth=1) The cluster has about 200 osds runing on Intel 3500 SSD, we run both qemu and ceph-osd on the hosts. The network for ceph is 10GbE. While the cluster is

Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-07-08 Thread juncheng bai
Hi, All As far as I know, the patch b3f03bac8132207a20286d5602eda64500c19724 solves one case which big directory size. I am not very familiar with xfs, but I think why can't we use vmalloc when kmalloc fails? Thanks. -- juncheng bai On 2015/7/8 20:34, Gavin Guo wrote: Hi

Re: [PATCH RFC] storage:rbd: make the size of request is equal to the, size of the object

2015-06-17 Thread juncheng bai
On 2015/6/17 16:24, Ilya Dryomov wrote: On Wed, Jun 17, 2015 at 6:04 AM, juncheng bai wrote: Hi. Yeah, you are right, use the default max_segments, the request size can be the object size, because the bi_phys_segments of bio could be recount, there's just a possibility. I want to

Re: [PATCH RFC] storage:rbd: make the size of request is equal to the, size of the object

2015-06-16 Thread juncheng bai
On 2015/6/16 23:51, Ilya Dryomov wrote: On Tue, Jun 16, 2015 at 5:14 PM, juncheng bai wrote: On 2015/6/16 21:30, Ilya Dryomov wrote: On Tue, Jun 16, 2015 at 2:57 PM, juncheng bai wrote: On 2015/6/16 16:37, Ilya Dryomov wrote: On Tue, Jun 16, 2015 at 6:28 AM, juncheng bai wrote

Re: [PATCH RFC] storage:rbd: make the size of request is equal to the, size of the object

2015-06-16 Thread juncheng bai
On 2015/6/16 21:30, Ilya Dryomov wrote: On Tue, Jun 16, 2015 at 2:57 PM, juncheng bai wrote: On 2015/6/16 16:37, Ilya Dryomov wrote: On Tue, Jun 16, 2015 at 6:28 AM, juncheng bai wrote: On 2015/6/15 22:27, Ilya Dryomov wrote: On Mon, Jun 15, 2015 at 4:23 PM, juncheng bai wrote

Re: [PATCH RFC] storage:rbd: make the size of request is equal to the, size of the object

2015-06-16 Thread juncheng bai
On 2015/6/16 16:37, Ilya Dryomov wrote: On Tue, Jun 16, 2015 at 6:28 AM, juncheng bai wrote: On 2015/6/15 22:27, Ilya Dryomov wrote: On Mon, Jun 15, 2015 at 4:23 PM, juncheng bai wrote: On 2015/6/15 21:03, Ilya Dryomov wrote: On Mon, Jun 15, 2015 at 2:18 PM, juncheng bai wrote

Re: [PATCH RFC] storage:rbd: make the size of request is equal to the, size of the object

2015-06-15 Thread juncheng bai
On 2015/6/15 22:27, Ilya Dryomov wrote: On Mon, Jun 15, 2015 at 4:23 PM, juncheng bai wrote: On 2015/6/15 21:03, Ilya Dryomov wrote: On Mon, Jun 15, 2015 at 2:18 PM, juncheng bai wrote: From 6213215bd19926d1063d4e01a248107dab8a899b Mon Sep 17 00:00:00 2001 From: juncheng bai Date

Re: [PATCH RFC] storage:rbd: make the size of request is equal to the, size of the object

2015-06-15 Thread juncheng bai
On 2015/6/15 21:03, Ilya Dryomov wrote: On Mon, Jun 15, 2015 at 2:18 PM, juncheng bai wrote: From 6213215bd19926d1063d4e01a248107dab8a899b Mon Sep 17 00:00:00 2001 From: juncheng bai Date: Mon, 15 Jun 2015 18:34:00 +0800 Subject: [PATCH] storage:rbd: make the size of request is equal to

[PATCH RFC] storage:rbd: make the size of request is equal to the, size of the object

2015-06-15 Thread juncheng bai
From 6213215bd19926d1063d4e01a248107dab8a899b Mon Sep 17 00:00:00 2001 From: juncheng bai Date: Mon, 15 Jun 2015 18:34:00 +0800 Subject: [PATCH] storage:rbd: make the size of request is equal to the size of the object ensures that the merged size of request can achieve the size of the object