https://bugs.kde.org/show_bug.cgi?id=487916

Alexander Patrakov <patra...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |patra...@gmail.com

--- Comment #9 from Alexander Patrakov <patra...@gmail.com> ---
I would like to add that limiting baloo to 512M by default is
counter-productive on my desktop PC. With just 512M, it just causes unrelated
pages to go to swap frequently, as there is no "memory+swap" accounting by
default, only "memory". This swap-thrashing affects other apps, such as
firefox.

Here is the "iostat -xm 4" output, the swap is on /dev/zram0:

```
Device            r/s     rMB/s   rrqm/s  %rrqm r_await rareq-sz     w/s    
wMB/s   wrqm/s  %wrqm w_await wareq-sz     d/s     dMB/s   drqm/s  %drqm
d_await dareq-sz     f/s f_await  aqu-sz  %util
dm-0             4.25      0.03     0.00   0.00    0.41     8.00    0.00     
0.00     0.00   0.00    0.00     0.00    0.00      0.00     0.00   0.00    0.00
    0.00    0.00    0.00    0.00   0.18
sda              4.25      0.03     0.00   0.00    0.29     8.00    0.00     
0.00     0.00   0.00    0.00     0.00    0.00      0.00     0.00   0.00    0.00
    0.00    0.00    0.00    0.00   0.18
zram0         11556.00     45.14     0.00   0.00    0.00     4.00 11615.75    
45.37     0.00   0.00    0.01     4.00    0.00      0.00     0.00   0.00   
0.00     0.00    0.00    0.00    0.17  17.18
```

```
$ balooctl6 status
Baloo File Indexer is running
Indexer state: Indexing file content
Total files indexed: 1,248,607
Files waiting for content indexing: 233,923
Files failed to index: 0
Current size of index is 4.28 GiB
```

Raising the limit to 5120M resolves the swap-thrashing issue, but it's
obviously not a good idea to give 1/3 of my memory to something not related to
the primary purpose of this PC.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to