On Fri, Apr 1, 2016 at 10:40 PM, Marc Haber <mh+linux-bt...@zugschlus.de> wrote: > On Fri, Apr 01, 2016 at 09:20:52PM +0200, Henk Slager wrote: >> On Fri, Apr 1, 2016 at 6:50 PM, Marc Haber <mh+linux-bt...@zugschlus.de> >> wrote: >> > On Fri, Apr 01, 2016 at 06:30:20PM +0200, Marc Haber wrote: >> >> On Fri, Apr 01, 2016 at 05:44:30PM +0200, Henk Slager wrote: >> >> > On Fri, Apr 1, 2016 at 3:40 PM, Marc Haber >> >> > <mh+linux-bt...@zugschlus.de> wrote: >> >> > > btrfs balance -mprofiles seems to do something. one kworked and one >> >> > > btrfs-transaction process hog one CPU core each for hours, while >> >> > > blocking the filesystem for minutes apiece, which leads to the host >> >> > > being nearly unuseable up to the point of "clock and mouse pointer >> >> > > frozen for nearly ten minutes". >> >> > >> >> > I assume you still have your every 10 minutes snapshotting running >> >> > while balancing? >> >> >> >> No, I disabled the cronjob before trying the balance. I might be >> >> crazy, but not stup^wunexperienced. >> > >> > That being said, I would still expect the code not to allow _this_ >> > kind of effect on the entire system when two alledgely incompatible >> > operations run simultaneously. I mean, Linux is a multi-user, >> > multi-tasking operating system where one simply cannot expect all >> > processes to be cooperative to each other. We have the operating >> > systems to prevent this kind of issues, not to cause them. >> >> Maybe look at it differently: Does user mh have trouble using this >> laptop w.r.t. storing files? > > No. I would have cried murder otherwise. > >> In openSUSE Tumbleweed (the snapshot from end of march), root access >> is needed to change the default snapshotting config, otherwise you >> will have a 10 year history. After that change has been done according >> to needs of the user, there is no need to run manual balance. > > So you are saying the balancing a filesystem should never be > necessary? Or what are you trying to say?
There is a package bbtrfsmaintenance which does balancing for the user after it is configured by root according to user's wishes and needs. Key thing I want to say is that you should change you snapshotting rate and/or policy. It has been hinted before and it is more a psychological issue than technical I think. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html