You are not logged in.

#1 2025-09-13 04:04:22

c>rust
Member
Registered: 2025-09-07
Posts: 16

bees 0.11-1 cause slow down and increase disk size

I'm on a:

fastfetch
 ? Chassis : Notebook Dell Inc. 
 ? OS : Arch Linux
  Kernel : 6.16.6-arch1-1
 ? Packages : 1145 (pacman), 28 (flatpak-user)
 ? Display : 1920x1200 @ 60Hz [Built-in]
  Terminal : kitty 0.42.2
 ? WM : Hyprland
  : mq @ archbtw
  CPU : 13th Gen Intel(R) Core(TM) i7-1360P @ 5.00 GHz
 ? GPU : Intel Iris Xe Graphics
  GPU Driver : i915
  Memory  : 4.05 GiB / 15.30 GiB (26%)
 ? OS Age  : 56 days
 ? Uptime  : 13 hours, 57 mins
  • archisntall with btrfs+Lusk+snapper

  • HYDE preconfig

  • systemd+swap

stat /                                                                                                                                                10:26 
  File: /
  Size: 230       	Blocks: 0          IO Block: 4096   directory
stat /                                                                                                                                                10:26 
sudo fdisk --list /dev/nvme0n1                                                                                                                        10:31 
[sudo] password for mq: 
Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: BG6 KIOXIA 1024GB                       
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C2AADA30-B736-4F61-A3F0-E91E48E8AFE8

Device           Start        End    Sectors   Size Type
/dev/nvme0n1p1    2048    2099199    2097152     1G EFI System
/dev/nvme0n1p2 2099200 2000406527 1998307328 952.9G Linux root (x86-64)

I try to install bees but ther isn't a a guide exept on githup, how ever i cant understand what I soppose to do
The guide provide two option DIY or using the installation script so not wanting to misconfigure anything so i go with for the script
Ecept the script dont work out of the box and i cant find a guide
runing the sript require the UUID of the filesystem(by reading the install script)(will return error for there is no config file)
rename the default config /etc/bees/beesd.conf.sample to root.conf(need to match *.conf) and adding
UUID=220a3d4d-ae3d-4032-bf64-72c9680de52d
enable beesd@220a3d4d-ae3d-4032-bf64-72c9680de52d
and it run with out error. However,

sudo btrfs filesystem show /                                                                                                                          10:49 
Label: none  uuid: 220a3d4d-ae3d-4032-bf64-72c9680de52d
	Total devices 1 FS bytes used 207.16GiB 			#this number decrease by a few G
	devid    1 size 952.85GiB used 254.06GiB path /dev/mapper/root  #and this one increase by a few G

and my system become very slow (renameing a file may take ~ 20sec open browser or wakeup+unlock may take forever)
and my soulution was to disable the service and run btrfs blance + scrub + defragment(which give no error and somewhat fix the problem, but while running them my system also seem to slow down)
note: I just assume that it is the filesystem that slowdown

Last edited by c>rust (2025-09-13 06:40:11)

Offline

#2 2025-09-13 12:48:23

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,310

Re: bees 0.11-1 cause slow down and increase disk size

Did you install the bees repo package ?
If not, please explain .

Welcome to archlinux forums.

Last edited by Lone_Wolf (2025-09-13 12:49:19)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2025-09-13 15:02:07

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,074

Re: bees 0.11-1 cause slow down and increase disk size

bees is a https://wiki.archlinux.org/title/Btrfs#Deduplication tool and afaiu the OP isn't happy w/ the impact this has on the system performance
There's gonna be a n overhead
https://github.com/Zygo/bees/blob/maste … md#running

You might actually lose space on the initial run
https://github.com/Zygo/bees/blob/maste … #snapshots

And there could be bugs
https://github.com/Zygo/bees/issues/305
https://github.com/Zygo/bees/issues/298

Offline

#4 2025-09-13 17:08:01

topcat01
Member
Registered: 2019-09-17
Posts: 241

Re: bees 0.11-1 cause slow down and increase disk size

OP, Zygo is very active on #btrfs on Libera IRC. Please also ask there.

Offline

#5 2025-10-11 08:51:01

c>rust
Member
Registered: 2025-09-07
Posts: 16

Re: bees 0.11-1 cause slow down and increase disk size

sorry for not rep. I did (a few week ago) reinstalling the arch twice same as last time mostly because of my buggy hardrive https://bbs.archlinux.org/viewtopic.php?id=303230 which I now use raid 1
and yes the same issue appear(noerror+slowdown+increase disk size)again and i did not run balance or scrub at that time
and no balance doesn't complitely fix it; scrub,fsck doesn't do anything(I think)
I didnt keep any log, ¯\(ツ)/¯
I install arch again to raid 1 with an external dirve without bees, which turnout doesn't need reinstalling but a degrade mount flag.

Last edited by c>rust (2025-10-11 08:54:38)

Offline

Board footer

Powered by FluxBB