Re: [DRBD-user] umount /drbdpart takes >50 seconds

2018-12-14 Thread Harald Dunkel
On 12/14/18 2:36 PM, Lars Ellenberg wrote: On Fri, Dec 14, 2018 at 02:13:50PM +0100, Harald Dunkel wrote: Hi Lars, On 12/14/18 1:27 PM, Lars Ellenberg wrote: There was nothing dirty (~ 7 MB; nothing worth to mention). So nothing to sync. But it takes some time to invalidate and shrink 20

Re: [DRBD-user] umount /drbdpart takes >50 seconds

2018-12-14 Thread Lars Ellenberg
On Fri, Dec 14, 2018 at 02:13:50PM +0100, Harald Dunkel wrote: > Hi Lars, > > On 12/14/18 1:27 PM, Lars Ellenberg wrote: > > > > There was nothing dirty (~ 7 MB; nothing worth to mention). > > So nothing to sync. > > > > But it takes some time to invalidate and shrink 20 million dentries > >

Re: [DRBD-user] umount /drbdpart takes >50 seconds

2018-12-14 Thread Harald Dunkel
Hi Lars, On 12/14/18 1:27 PM, Lars Ellenberg wrote: There was nothing dirty (~ 7 MB; nothing worth to mention). So nothing to sync. But it takes some time to invalidate and shrink 20 million dentries and inodes and 13 million buffer heads and associated caches. Also, cpu bound now makes more

Re: [DRBD-user] umount /drbdpart takes >50 seconds

2018-12-14 Thread Lars Ellenberg
On Fri, Dec 14, 2018 at 09:32:14AM +0100, Harald Dunkel wrote: > Hi folks, > > On 12/13/18 11:49 PM, Igor Cicimov wrote: > > On Fri, Dec 14, 2018 at 2:57 AM Lars Ellenberg wrote: > > > > > > Unlikely to have anything to do with DRBD. > > > > since you apparently can reproduce, monitor

Re: [DRBD-user] umount /drbdpart takes >50 seconds

2018-12-14 Thread Harald Dunkel
On 12/14/18 9:32 AM, Harald Dunkel wrote: Is sync broken for drbd? PS: Writing to a (much smaller) local partition instead of a drbd partition sync takes several seconds, and the following umount takes just a few millisecs, as expected. ??? Regards Harri

Re: [DRBD-user] umount /drbdpart takes >50 seconds

2018-12-14 Thread Harald Dunkel
Hi folks, On 12/13/18 11:49 PM, Igor Cicimov wrote: On Fri, Dec 14, 2018 at 2:57 AM Lars Ellenberg mailto:lars.ellenb...@linbit.com>> wrote: Unlikely to have anything to do with DRBD. since you apparently can reproduce, monitor grep -e Dirty -e Writeback /proc/meminfo and

Re: [DRBD-user] umount /drbdpart takes >50 seconds

2018-12-13 Thread Igor Cicimov
On Fri, Dec 14, 2018 at 2:57 AM Lars Ellenberg wrote: > On Wed, Dec 12, 2018 at 10:16:09AM +0100, Harald Dunkel wrote: > > Hi folks, > > > > using drbd umounting /data1 takes >50 seconds, even though the file > > system (ext4, noatime, default) wasn't accessed for more than 2h. > > umount ran

Re: [DRBD-user] umount /drbdpart takes >50 seconds

2018-12-13 Thread Lars Ellenberg
On Wed, Dec 12, 2018 at 10:16:09AM +0100, Harald Dunkel wrote: > Hi folks, > > using drbd umounting /data1 takes >50 seconds, even though the file > system (ext4, noatime, default) wasn't accessed for more than 2h. > umount ran with 100% CPU load. > > # sync > # time umount /data1 > > real

[DRBD-user] umount /drbdpart takes >50 seconds

2018-12-12 Thread Harald Dunkel
Hi folks, using drbd umounting /data1 takes >50 seconds, even though the file system (ext4, noatime, default) wasn't accessed for more than 2h. umount ran with 100% CPU load. # sync # time umount /data1 real0m52.772s user0m0.000s sys 0m52.740s This appears to be a pretty long