Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

excessive disk usage under Linux #22807

Open
slackwareuser opened this issue May 12, 2022 · 36 comments
Open

excessive disk usage under Linux #22807

slackwareuser opened this issue May 12, 2022 · 36 comments

Comments

@slackwareuser
Copy link

I have found this (#2563) , but that issue is closed and referencing windows - I am showing similar behavior under Linux - Brave Version 1.38.111 Chromium: 101.0.4951.54 (Official Build) (64-bit)

I have disabled brave rewards, but issue persists and do not want to turn off hardware acceleration. Also I only have at most 3-4 tabs open. This is the output from iotop:

out.txt

@slackwareuser
Copy link
Author

i finally disabled hw acceleration but that doesn't resolve it either

@slackwareuser
Copy link
Author

Description

excessive disk read/writes under Linux

Steps to Reproduce

  1. open brave
  2. load a page
  3. open just another tab and load a new page (don't need to open a lot, just another tab or two)

Actual result:

22:21:50 15155 be/4 slackuse 0.00 K/s 66.54 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:50 15158 be/4 slackuse 0.00 K/s 280.96 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:50 15264 be/4 slackuse 0.00 K/s 103.51 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:50 15265 be/4 slackuse 0.00 K/s 96.12 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:50 15266 be/4 slackuse 0.00 K/s 14.79 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:50 15267 be/4 slackuse 0.00 K/s 465.81 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:50 15357 be/4 root 0.00 K/s 7.39 K/s ?unavailable? python /usr/sbin/iotop -bktoqqq -d .5
22:21:50 15437 be/4 slackuse 0.00 K/s 22.18 K/s ?unavailable? VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=6066221880420052462 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=30 --launch-time-ticks=371453933681 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 [ThreadPoolForeg]
22:21:50 15438 be/4 slackuse 0.00 K/s 110.91 K/s ?unavailable? VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=6066221880420052462 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=30 --launch-time-ticks=371453933681 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 [ThreadPoolForeg]
22:21:50 15478 be/4 slackuse 0.00 K/s 147.87 K/s ?unavailable? VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=6066221880420052462 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=30 --launch-time-ticks=371453933681 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 [ThreadPoolForeg]
22:21:50 15479 be/4 slackuse 0.00 K/s 51.76 K/s ?unavailable? VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=6066221880420052462 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=30 --launch-time-ticks=371453933681 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 [ThreadPoolForeg]
22:21:50 15480 be/4 slackuse 0.00 K/s 532.35 K/s ?unavailable? VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=6066221880420052462 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=30 --launch-time-ticks=371453933681 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 [ThreadPoolForeg]
22:21:50 15481 be/4 slackuse 0.00 K/s 118.30 K/s ?unavailable? VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=6066221880420052462 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=30 --launch-time-ticks=371453933681 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 [ThreadPoolForeg]
22:21:50 15093 be/4 slackuse 0.00 K/s 22.18 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:50 14637 be/4 slackuse 0.00 K/s 22.18 K/s ?unavailable? brave --enable-crashpad
22:21:51 15094 be/4 slackuse 0.00 K/s 360.36 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:51 15158 be/4 slackuse 0.00 K/s 117.67 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:51 15265 be/4 slackuse 0.00 K/s 220.63 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:51 15266 be/4 slackuse 0.00 K/s 617.77 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:51 15267 be/4 slackuse 0.00 K/s 227.98 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:51 15357 be/4 root 0.00 K/s 7.35 K/s ?unavailable? python /usr/sbin/iotop -bktoqqq -d .5
22:21:51 15494 be/4 slackuse 0.00 K/s 14.71 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:51 15093 be/4 slackuse 0.00 K/s 22.06 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:51 14637 be/4 slackuse 0.00 K/s 22.06 K/s ?unavailable? brave --enable-crashpad
22:21:51 14652 be/4 slackuse 0.00 K/s 7.38 K/s ?unavailable? brave --enable-crashpad [HangWatcher]
22:21:51 15094 be/4 slackuse 0.00 K/s 228.79 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:51 15158 be/4 slackuse 0.00 K/s 184.51 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:51 15265 be/4 slackuse 0.00 K/s 103.33 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:51 15266 be/4 slackuse 0.00 K/s 22.14 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:51 15267 be/4 slackuse 0.00 K/s 51.66 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:51 15357 be/4 root 0.00 K/s 7.38 K/s ?unavailable? python /usr/sbin/iotop -bktoqqq -d .5
22:21:51 15093 be/4 slackuse 0.00 K/s 22.14 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:51 15292 be/4 slackuse 0.00 K/s 36.90 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:51 14637 be/4 slackuse 0.00 K/s 7.38 K/s ?unavailable? brave --enable-crashpad
22:21:52 14658 be/4 slackuse 0.00 K/s 14.76 K/s ?unavailable? brave --enable-crashpad [Chrome_IOThread]
22:21:52 15094 be/4 slackuse 0.00 K/s 494.52 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:52 15158 be/4 slackuse 0.00 K/s 228.81 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:52 15265 be/4 slackuse 0.00 K/s 169.76 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:52 15266 be/4 slackuse 0.00 K/s 191.90 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:52 15267 be/4 slackuse 0.00 K/s 14.76 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:52 1011 be/3 root 0.00 K/s 103.33 K/s ?unavailable? [f2fs_ckpt-8:3]
22:21:52 15093 be/4 slackuse 0.00 K/s 22.14 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:52 14637 be/4 slackuse 0.00 K/s 36.90 K/s ?unavailable? brave --enable-crashpad
22:21:52 15291 be/4 slackuse 0.00 K/s 125.47 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:52 15292 be/4 slackuse 0.00 K/s 221.42 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:52 14950 be/4 slackuse 0.00 K/s 90.56 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:52 15094 be/4 slackuse 0.00 K/s 174.65 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:52 15155 be/4 slackuse 0.00 K/s 181.12 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:52 15158 be/4 slackuse 0.00 K/s 25.87 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:52 15265 be/4 slackuse 0.00 K/s 38.81 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:52 15266 be/4 slackuse 0.00 K/s 433.38 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:52 15267 be/4 slackuse 0.00 K/s 291.08 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:52 15357 be/4 root 0.00 K/s 6.47 K/s ?unavailable? python /usr/sbin/iotop -bktoqqq -d .5
22:21:52 15093 be/4 slackuse 0.00 K/s 19.41 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:52 15292 be/4 slackuse 0.00 K/s 6.47 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:53 15094 be/4 slackuse 0.00 K/s 546.74 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:53 15155 be/4 slackuse 0.00 K/s 204.11 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:53 15265 be/4 slackuse 0.00 K/s 29.16 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:53 15266 be/4 slackuse 0.00 K/s 298.88 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:53 15267 be/4 slackuse 0.00 K/s 1013.28 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:53 15357 be/4 root 0.00 K/s 7.29 K/s ?unavailable? python /usr/sbin/iotop -bktoqqq -d .5
22:21:53 15291 be/4 slackuse 0.00 K/s 7.29 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:54 15094 be/4 slackuse 0.00 K/s 367.64 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:54 15155 be/4 slackuse 0.00 K/s 301.47 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:54 15265 be/4 slackuse 0.00 K/s 14.71 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:54 15266 be/4 slackuse 0.00 K/s 250.00 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:54 15267 be/4 slackuse 0.00 K/s 338.23 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:54 15094 be/4 slackuse 0.00 K/s 29.57 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:54 15155 be/4 slackuse 0.00 K/s 14.79 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:54 15158 be/4 slackuse 0.00 K/s 680.13 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:54 15265 be/4 slackuse 0.00 K/s 635.77 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:54 15267 be/4 slackuse 0.00 K/s 3785.05 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:54 15357 be/4 root 0.00 K/s 7.39 K/s ?unavailable? python /usr/sbin/iotop -bktoqqq -d .5
22:21:54 15093 be/4 slackuse 0.00 K/s 7.39 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:54 14637 be/4 slackuse 0.00 K/s 22.18 K/s ?unavailable? brave --enable-crashpad
22:21:54 15291 be/4 slackuse 0.00 K/s 7.39 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:55 15094 be/4 slackuse 0.00 K/s 329.30 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:55 15155 be/4 slackuse 0.00 K/s 7.32 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:55 15158 be/4 slackuse 0.00 K/s 1785.51 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:55 15265 be/4 slackuse 0.00 K/s 826.90 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:55 15267 be/4 slackuse 0.00 K/s 1873.32 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:55 15357 be/4 root 0.00 K/s 7.32 K/s ?unavailable? python /usr/sbin/iotop -bktoqqq -d .5
22:21:55 15093 be/4 slackuse 0.00 K/s 7.32 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:55 15094 be/4 slackuse 0.00 K/s 36.25 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:55 15158 be/4 slackuse 0.00 K/s 36.25 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:55 15265 be/4 slackuse 0.00 K/s 1739.87 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:55 15267 be/4 slackuse 0.00 K/s 478.47 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:56 15094 be/4 slackuse 0.00 K/s 249.32 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:56 15158 be/4 slackuse 0.00 K/s 2471.23 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:56 15265 be/4 slackuse 0.00 K/s 637.97 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:56 15267 be/4 slackuse 0.00 K/s 7.33 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:56 15357 be/4 root 0.00 K/s 7.33 K/s ?unavailable? python /usr/sbin/iotop -bktoqqq -d .5
22:21:56 15093 be/4 slackuse 0.00 K/s 29.33 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:56 14637 be/4 slackuse 0.00 K/s 7.33 K/s ?unavailable? brave --enable-crashpad
22:21:56 15094 be/4 slackuse 0.00 K/s 7.33 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:56 15158 be/4 slackuse 0.00 K/s 2403.10 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:56 15265 be/4 slackuse 0.00 K/s 1487.28 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:56 14637 be/4 slackuse 0.00 K/s 43.96 K/s ?unavailable? brave --enable-crashpad
22:21:57 15158 be/4 slackuse 0.00 K/s 429.72 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:57 15168 be/4 root 0.00 K/s 7.28 K/s ?unavailable? [kworker/u16:4-flush-8:0]
22:21:57 15265 be/4 slackuse 0.00 K/s 4253.51 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:57 14950 be/4 slackuse 0.00 K/s 21.78 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:57 15158 be/4 slackuse 0.00 K/s 406.57 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:57 15265 be/4 slackuse 0.00 K/s 5270.95 K/s ?unavailable? brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=0 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5156634456518890982,14045695020099988462,131072 --enable-crashpad [ThreadPoolForeg]
22:21:57 15357 be/4 root 0.00 K/s 7.26 K/s ?unavailable? python /usr/sbin/iotop -bktoqqq -d .5
22:21:57 15093 be/4 slackuse 0.00 K/s 14.52 K/s ?unavailable? brave --enable-crashpad [ThreadPoolForeg]
22:21:57 14637 be/4 slackuse 0.00 K/s 14.52 K/s ?unavailable? brave --enable-crashpad

Expected result:

Reproduces how often:

always reproducible when opening brave

Brave version (brave://version info)

Brave 1.38.111 Chromium: 101.0.4951.54 (Official Build) (64-bit)
Revision 67da1aeb32cedd27634ca6634fb79cbd85d3f0ab-refs/branch-heads/4951@{#1126}
OS Linux
JavaScript V8 10.1.124.11
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36
Command Line /opt/brave.com/brave/brave --enable-crashpad --disable-client-side-phishing-detection --disable-domain-reliability --enable-dom-distiller --no-pings --component-updater=url-source=https://go-updater.brave.com/extensions --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --lso-url=https://no-thanks.invalid --variations-server-url=https://variations.brave.com/seed --variations-insecure-server-url=https://variations.brave.com/seed --flag-switches-begin --flag-switches-end
Executable Path /opt/brave.com/brave/brave
Profile Path /home/slackuser/.config/BraveSoftware/Brave-Browser/Default
Variations AdRewardsStudy:NextPaymentDayAdServingStudy:DefaultAdNotificationsPerHour=10/MaximumAdNotificationsPerDay=100/MaximumInlineContentAdsPerHour=12/MaximumInlineContentAdsPerDay=60AdvertiserSplitTestStudy:GroupBBraveAds.FrequencyCappingStudy:ExcludeAdIfWithinTimeWindow=0hBraveAds.UserActivityStudy:Triggers=EMPTY/Threshold=0.0/IdleTimeThreshold=5BraveDebounceStudy:EnabledConversionsStudy:NewDefaultPatternDefault1pBlockingStudy:DisabledEphemeralStorageStudy:EnabledExtendedVariationsSafeMode5:Default5FirstPartyEphemeralDomainBlockStudy:EnabledForceDisableBlinkFeatures:EnabledNativeCosmeticFilteringStudy:EnabledNavigationThreadingOptimizationsCompat:DisabledPartitionBlinkMemoryCacheStudy:EnabledPartitionConnectionsByNetworkIsolationKeyStudy:EnabledPermissionLifetimeReleaseStudy:EnabledRequestAdsEnabledApiStudy:EnabledSpeedreaderReleaseStudy:Disabled

Version/Channel Information:

  • Can you reproduce this issue with the current release? yes
  • Can you reproduce this issue with the beta channel? n/a
  • Can you reproduce this issue with the nightly channel? n/a

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? no
  • Does the issue resolve itself when disabling Brave Rewards? no
  • Is the issue reproducible on the latest version of Chrome? no

Miscellaneous Information:

disabled both hw acceleration and rewards in brave, issue still persists.

@OnkarRuikar
Copy link

OnkarRuikar commented Jul 17, 2022

I am facing the same issue on Fedora 36.
At the end of a normal day my SSD shows only ~5GB read but 30+GB writes! 😲

The iotop -oPa command shows Brave keeps writing to disk even without any user interactions.

Environment:

OS: Fedora release 36 (Thirty Six) x86_64 
Kernel: 5.18.11-200.fc36.x86_64 
DE: Plasma 5.25.3 
WM: KWin 
Memory: 7474MiB / 15843MiB 

I have turned the rewards feature off. But that doesn't solve the issue.

@slackwareuser
Copy link
Author

slackwareuser commented Jul 18, 2022

I am facing the same issue on Fedora 36. At the end of a normal day my SSD shows only ~5GB read but 30+GB writes! astonished

The iotop -oPa command shows Brave keeps writing to disk even without any user interactions.

Environment:

OS: Fedora release 36 (Thirty Six) x86_64 
Kernel: 5.18.11-200.fc36.x86_64 
DE: Plasma 5.25.3 
WM: KWin 
Memory: 7474MiB / 15843MiB 

I have turned the rewards feature off.

ouch that is worse for you since SSDs don't take kindly to massive writes , this is why I still use a conventional disk for my /home partition. Still I would have liked to at least SEE an acknowledgement from the devs that they have put this in some sort of queue to be looked at . It is still encouraging to me that at least others are having similar issues in Linux regardless of distro. If you can get io states though to post that would be great. . also none of the recommended fixes work, turning off rewards and hardware acceleration does not work.. so until this issue is resolve I have reluctantly jumped over to FireFox until this issue for Linux has been resolved, but who knows how long that will be.

@OnkarRuikar
Copy link

I am glad I found this issue early before it wrecked my new SSD.

I've switched to Firefox as well. There I disabled the disc cache completely. The browser runs entirely in memory!
Here are the steps:

  • Put and run about:config in address bar
  • And disable browser.cache.disk.enable

Now it doesn't matter how many hours I keep the browser open. Biggest plus is watching youtube videos don't make any writes to disk. The videos don't get buffering on disk. I can watch HD videos all day long. 👻

@slackwareuser
Copy link
Author

I am glad I found this issue early before it wrecked my new SSD.

I've switched to Firefox as well. There I disabled the disc cache completely. The browser runs entirely in memory! Here are the steps:

* Put and run `about:config` in address bar

* And disable `browser.cache.disk.enable`

Now it doesn't matter how many hours I keep the browser open. Biggest plus is watching youtube videos don't make any writes to disk. The videos don't get buffering on disk. I can watch HD videos all day long. ghost

I'll look into that and see , how much memory usage do you see because of this? I mean my system is almost 9 yrs old, but when I built it , I maxed out the memory at the time to 32GB , so I SHOULD be ok, even though I run a heavier DE such as KDE 5 Plasma. Which overall goes into my main gripe about browsers in general, these days they are the most bloated memory hungry pieces of software , oh well.

@GrubbyHalo
Copy link

I am going to install a SSD in my laptop and the last thing I want is for it to be written to so frequently. Its a pity there is no response from the devs to this issue. I was quite fond of Brave but now I will have to use another browser until this issue get sorted out.

@slackwareuser
Copy link
Author

slackwareuser commented Jul 20, 2022

I am going to install a SSD in my laptop and the last thing I want is for it to be written to so frequently. Its a pity there is no response from the devs to this issue. I was quite fond of Brave but now I will have to use another browser until this issue get sorted out.

Same, I am having other issues with firefox, primarily some sites just tend to spike my CPU now..... but better than my hd even again if it is a conventional. I don't know if my thread is wrong - meaning if I am missing any information? But I haven't at least gotten any sort of acknowledgement that at least they (devs) are now aware of this situation.

@GrubbyHalo
Copy link

It seems like it is a chrome thing from which brave is derived. In fact I ran google chrome and it has the exact same behaviour. Firefox, although not as bad as chrome and brave still has too much disk I/O for my liking.

Anyway after a bit off digging around I decided to install profile-sync-daemon which stores browser profiles on a ram drive, loading them from persistent storage when starting and saving them back when shutting down . I also moved brave's cache folder to a ram folder and now have virtually no disk I/O from brave. e.g. echo "tmpfs /home/$USER/.cache tmpfs noatime,nodev,nosuid,size=400M 0 0" >> /etc/fstab

If you opt to do this then you need to copy the settings from google chrome in /usr/share/psd/browsers/google-chrome to a brave settings file i.e. /usr/share/psd/browsers/brave and modify the content appropriately

you might also want to see if there are any folders taking up lots of space in the brave profile folder before doing this and delete tmp files etc.. du -h -c -d1 /home/$USER/.config/BraveSoftware/Brave-Browser

@slackwareuser
Copy link
Author

I still have not really seen any updates on this issue, I really would love to use Brave again on Linux; but so far I haven't really seen anything since opening this issue..... :(

@OnkarRuikar
Copy link

OnkarRuikar commented Oct 1, 2022

@GrubbyHalo thanks for the profile-sync-daemon and tmpfs suggestions! It worked as expected!
I took only the brave browser cache in memory not the entire ~/.cache.

echo "tmpfs /home/$USER/.cache tmpfs noatime,nodev,nosuid,size=400M 0 0" >> /etc/fstab

I have a few questions about this:

  1. This takes not just Brave's cache but all other applications'(nvdia, plasmashell, ...) cache in memory. Do we need some sync daemon (e.g. anything-sync-daemon) for syncing the cache to disk before system shutdown?
  2. Is 400Mb enough for the entire system? At the moment my .cache directory size is ~6GB (mostly yarn and Chrome cache).

@GrubbyHalo
Copy link

This takes not just Brave's cache but all other applications'(nvdia, plasmashell, ...) cache in memory. Do we need some sync daemon (e.g. anything-sync-daemon) for syncing the cache to disk before system shutdown?
No this only takes braves cache

Is 400Mb enough for the entire system? At the moment my .cache directory size is ~6GB (mostly yarn and Chrome cache).
There's is a lot of other files that are not really part of the running cache of the browser. I forget which directories specifically.

@tuupola
Copy link

tuupola commented Feb 24, 2023

This also happens with Fedora 36.

I was wondering wonder Brave keeps randomly freezing for couple seconds. Noted that it keep writing something to disk 250-500 KiB/s every five seconds or so. This also happens without any user interaction.

@slackwareuser
Copy link
Author

I've been forced back to brave because of youtube's adblock nonsense , and I am using brave Version 1.58.135 Chromium: 117.0.5938.140 (Official Build) (64-bit) , and this issue STILL persists , same excessive disk usage.

@slackwareuser
Copy link
Author

upgraded to Version 1.59.120 Chromium: 118.0.5993.88 (Official Build) (64-bit) , issue still persists. still have massive disk read/writes.

@slackwareuser
Copy link
Author

upgraded to Version 1.59.124 Chromium: 118.0.5993.117 (Official Build) (64-bit) , issue still persists.

@GrubbyHalo
Copy link

@slackwareuser . I doubt anyone from brave will fix the issue because its not really a brave issue, its a google-chrome issue and google probably doesn't view this as an issue at all but 'by design'.

@slackwareuser
Copy link
Author

slackwareuser commented Oct 30, 2023

@slackwareuser . I doubt anyone from brave will fix the issue because its not really a brave issue, its a google-chrome issue and google probably doesn't view this as an issue at all but 'by design'.

cool, guess i'll just go back to FF. i guess maybe they'll look into it when they get more complaints of their SSDs being trashed due to what would be considering "thrashing" on a conventional disk. oh well, too bad cause Brave is a great browser , but i don't need my hard disks (conventional or flash-based) , abused this way. maybe i might revisit Brave in another year , but probably not considering how google operates. oh well.

-edit

while my /home is on a conventional , i feel sorry for those who solely use SSDs of any kind with this browser at this point as i predict they will find a sudden drop in lifespan of their SSDs due to how chromium seems to handle cache. id say maybe brave should just not base itself off of chromium, but thats probably not going to happen.

@GrubbyHalo
Copy link

@slackwareuser
Firefox, although not as bad as chrome based browsers, comes close to chrome based browsers in terms of disk activity. Check out my comment here for a workaround

@slackwareuser
Copy link
Author

slackwareuser commented Oct 30, 2023

@slackwareuser Firefox, although not as bad as chrome based browsers, comes close to chrome based browsers in terms of disk activity. All I have to do in Brave is just open it and load a single page, not even open a tab and disk is just chugging away. Check out my comment here for a workaround

i haven't noticed, i have made comparisons even now. i am running FF 115.4.0 ESR , and I have no where near the level of disk activity compared to Brave. I can open multiple tabs in FF and load different pages, and the disk activity settles down quickly , in Brave, It is far worse and for much longer of duration - just scroll up and see the logs i posted. FF does not bog down my system because yes like I stated earlier I use a conventional disk for my /home partition. And like I also stated, I dread to think of those users who solely use an SSD and not a conventional disk, because they are killing their SSDs lifespan.

@slackwareuser
Copy link
Author

Also to be fair I have tried the work around, and it just doesn't seem to be working for me - maybe because of my distro i don't know.

@GrubbyHalo
Copy link

What specific folder are you seeing the activity in ? I use a command line utility called fatrace to see what file are being accessed by what process.

@slackwareuser
Copy link
Author

What specific folder are you seeing the activity in ? I use a command line utility called fatrace to see what file are being accessed by what process.

compiled and installed fatrace and this is what i could get, its a lot so at some point i had to ctrl+c out of it, but it shows a lot of brave access ...
out.txt

@slackwareuser
Copy link
Author

another output , all i did was just open another tab , only 4 in total and disk access goes crazy, but again that is not always tabs.. i can close and start brave a few hours later with just one tab and load just one page and it still does the same thing...
out2.txt

@GrubbyHalo
Copy link

ok so most (basically all) of brave's I/O is within the /home/slackuser/.config and /home/slackuser/.cache folders. That's exactly the same scenario I had and that almost everyone else who installs chrome based browsers will have.

profile-sync-daemon will sort out access to the .config folder

As for the .cache folder you can just mount that on a tmpfs (ram folder) . So in your /etc/fstab file put this:
tmpfs /home/slackuser/.cache tmpfs noatime,nodev,nosuid,size=400M 0 0

That should already cut you I/O down substantially. Also your cach doesn't need to persist across reboots thats why its ok to put it in a tempfs folder.

You mentioned you couldn't get psd working. What did your configs look like ?

@slackwareuser
Copy link
Author

slackwareuser commented Oct 31, 2023

ok so most (basically all) of brave's I/O is within the /home/slackuser/.config and /home/slackuser/.cache folders. That's exactly the same scenario I had and that almost everyone else who installs chrome based browsers will have.

profile-sync-daemon will sort out access to the .config folder

As for the .cache folder you can just mount that on a tmpfs (ram folder) . So in your /etc/fstab file put this: tmpfs /home/slackuser/.cache tmpfs noatime,nodev,nosuid,size=400M 0 0

That should already cut you I/O down substantially. Also your cach doesn't need to persist across reboots thats why its ok to put it in a tempfs folder.

You mentioned you couldn't get psd working. What did your configs look like ?

regrettably i couldn't tell you as i no longer have the configs (dopey me)... i mean short of doing the basic stuff , disabling hw acceleration, downsizing the cache to just a few MB , nothing obviously helped. what is weird is if this is a chromium issue , why has the windows version of Brave been fixed? as when I started this post i made sure to state that there was a similar issue plaguing windows users of Brave, but I guess chromium for linux hasn't gotten that fix , or it just handles things differently . I think I will at least maybe report this to the chromium devs . going back to the PSD option, I guess I can retry that at some other point, but honestly that really seems to go out of my way for this when this is something chromium needs to be looked at. i don't consider myself an advanced linux user, rather intermediate maybe, but right now i also just don't have that much time to fool with PSD itself. I will though again just copy this issue and try to post my logs at https://github.com/chromium then since as stated this is out of brave's hands

-edit

well it seems there is no way as far as i know to even report this to the chromium devs on github, there is no issues option or anywhere that i can find here , but there is this https://bugs.chromium.org/p/chromium/issues/list

@slackwareuser
Copy link
Author

@slackwareuser
Copy link
Author

slackwareuser commented Nov 1, 2023

well good news is , i think one of the devs at least acknowledged my report ... i say we keep this thread here open and i can provide updates here when ..... and if they get it resolved you guys can somehow pick it up?
Screenshot_2023-11-01_00-06-48

@OnkarRuikar
Copy link

OnkarRuikar commented Nov 1, 2023

and if they get it resolved you guys can somehow pick it up?

you'll get email notification for every activity on the the bugs.chromium.org thread.

Get as many people as you can to select star on the issue to increase priority.

@slackwareuser
Copy link
Author

and if they get it resolved you guys can somehow pick it up?

you'll get email notification for every activity on the the bugs.chromium.org thread.

Get as many people as you can to select star on the issue to increase priority.

cool, maybe some users here who still have my issue under linux can also add to my thread there then.

@slackwareuser
Copy link
Author

slackwareuser commented Nov 1, 2023

they couldn't reproduce it under windows....... ... but i am not even having that issue in chrome under linux and i don't use windows on my desktop :(
Screenshot_2023-11-01_08-12-22

@slackwareuser
Copy link
Author

slackwareuser commented Nov 1, 2023

i tried to add more info and the bot seems to have added that to the update list so...who knows. if any other linux users who still has this issue would kindly add to the thread https://bugs.chromium.org/p/chromium/issues/detail?id=1498057 that would be greatly appreciated.

@slackwareuser
Copy link
Author

slackwareuser commented Nov 2, 2023

So effectively they punted back to Brave as no recorded issues of Chromium itself having this issue. I also haven't tried actual Chromium so I can't confirm this , but the devs are alluding to how Brave has either the profile set or any other modifications could be the issue.... so now I'm back here..
Screenshot_2023-11-02_11-27-32

@slackwareuser
Copy link
Author

slackwareuser commented Nov 6, 2023

they suggested I try chromium itself from what I gather, so I downloaded chromium from https://download-chromium.appspot.com/ 121.0.6112.0 (Developer Build) (64-bit) which i would assume is a nightly build... no issue whatsoever , no matter what i did i didn't get massive disk i/o the way i do with brave.... so im afraid this issue is back here.....

@slackwareuser
Copy link
Author

updated to Version 1.60.110 Chromium: 119.0.6045.105 (Official Build) (64-bit) , still the same behavior:
fatrace.txt

@slackwareuser
Copy link
Author

updated to Version 1.60.118 Chromium: 119.0.6045.163 (Official Build) (64-bit) , still the same behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants