* problem with ceph and btrfs patch: set journal_info in async trans commit worker
@ 2012-11-14 13:42 Stefan Priebe - Profihost AG
2012-11-15 5:18 ` Miao Xie
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Priebe - Profihost AG @ 2012-11-14 13:42 UTC (permalink / raw)
To: Sage Weil
Cc: ceph-devel@vger.kernel.org, linux-btrfs@vger.kernel.org,
Josef Bacik, miaox
Hello list,
i wanted to try out ceph with latest vanilla kernel 3.7-rc5. I was
seeing a massive performance degration. I see around 22x
btrfs-endio-write processes every 10-20 seconds and they run a long time
while consuming a massive amount of CPU.
So my performance of 23.000 iops drops to an up and down of 23.000 iops
to 0 - avg is now 2500 iops instead of 23.000.
Git bisect shows me commit: e209db7ace281ca347b1ac699bf1fb222eac03fe
"Btrfs: set journal_info in async trans commit worker" as the
problematic patch.
When i revert this one everything is fine again.
Is this known?
Greets,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem with ceph and btrfs patch: set journal_info in async trans commit worker
2012-11-14 13:42 problem with ceph and btrfs patch: set journal_info in async trans commit worker Stefan Priebe - Profihost AG
@ 2012-11-15 5:18 ` Miao Xie
2012-11-15 8:50 ` Stefan Priebe - Profihost AG
0 siblings, 1 reply; 3+ messages in thread
From: Miao Xie @ 2012-11-15 5:18 UTC (permalink / raw)
To: Stefan Priebe - Profihost AG
Cc: Sage Weil, ceph-devel@vger.kernel.org,
linux-btrfs@vger.kernel.org, Josef Bacik
Hi, Stefan
On wed, 14 Nov 2012 14:42:07 +0100, Stefan Priebe - Profihost AG wrote:
> Hello list,
>
> i wanted to try out ceph with latest vanilla kernel 3.7-rc5. I was seeing a massive performance degration. I see around 22x btrfs-endio-write processes every 10-20 seconds and they run a long time while consuming a massive amount of CPU.
>
> So my performance of 23.000 iops drops to an up and down of 23.000 iops to 0 - avg is now 2500 iops instead of 23.000.
>
> Git bisect shows me commit: e209db7ace281ca347b1ac699bf1fb222eac03fe "Btrfs: set journal_info in async trans commit worker" as the problematic patch.
>
> When i revert this one everything is fine again.
>
> Is this known?
Could you try the following patch?
http://marc.info/?l=linux-btrfs&m=135175512030453&w=2
I think the patch
Btrfs: set journal_info in async trans commit worker
is not the real reason that caused the regression.
I guess it is caused by the bug of the reservation. When we join the
same transaction handle more than 2 times, the pointer of the reservation
in the transaction handle would be lost, and the statistical data in the
reservation would be corrupted. And then we would trigger the space flush,
which may block your tasks.
Thanks
Miao
>
> Greets,
> Stefan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem with ceph and btrfs patch: set journal_info in async trans commit worker
2012-11-15 5:18 ` Miao Xie
@ 2012-11-15 8:50 ` Stefan Priebe - Profihost AG
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Priebe - Profihost AG @ 2012-11-15 8:50 UTC (permalink / raw)
To: miaox
Cc: Sage Weil, ceph-devel@vger.kernel.org,
linux-btrfs@vger.kernel.org, Josef Bacik
Hi Miao,
Am 15.11.2012 06:18, schrieb Miao Xie:
> Hi, Stefan
>
> On wed, 14 Nov 2012 14:42:07 +0100, Stefan Priebe - Profihost AG wrote:
>> Hello list,
>>
>> i wanted to try out ceph with latest vanilla kernel 3.7-rc5. I was seeing a massive performance degration. I see around 22x btrfs-endio-write processes every 10-20 seconds and they run a long time while consuming a massive amount of CPU.
>>
>> So my performance of 23.000 iops drops to an up and down of 23.000 iops to 0 - avg is now 2500 iops instead of 23.000.
>>
>> Git bisect shows me commit: e209db7ace281ca347b1ac699bf1fb222eac03fe "Btrfs: set journal_info in async trans commit worker" as the problematic patch.
>>
>> When i revert this one everything is fine again.
>>
>> Is this known?
>
> Could you try the following patch?
>
> http://marc.info/?l=linux-btrfs&m=135175512030453&w=2
>
> I think the patch
>
> Btrfs: set journal_info in async trans commit worker
>
> is not the real reason that caused the regression.
>
> I guess it is caused by the bug of the reservation. When we join the
> same transaction handle more than 2 times, the pointer of the reservation
> in the transaction handle would be lost, and the statistical data in the
> reservation would be corrupted. And then we would trigger the space flush,
> which may block your tasks.
i applied your whole patchset. It looks a lot better now but avg iops is
now 5000 iops and not 23.000 like when removing the mentioned commit
(e209db7ace281ca347b1ac699bf1fb222eac03fe).
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-15 8:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-14 13:42 problem with ceph and btrfs patch: set journal_info in async trans commit worker Stefan Priebe - Profihost AG
2012-11-15 5:18 ` Miao Xie
2012-11-15 8:50 ` Stefan Priebe - Profihost AG
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.