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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noises produced when database is placed on a mechanical HDD. #594

Open
glecas opened this issue Jul 6, 2023 · 4 comments
Open

Noises produced when database is placed on a mechanical HDD. #594

glecas opened this issue Jul 6, 2023 · 4 comments

Comments

@glecas
Copy link

glecas commented Jul 6, 2023

Putting the database file on a mechanical HDD produces noise every time I scroll in notes. 馃槥 Tried two different HDDs... The WD is noisier than the Toshiba. It's normal for them to make noises when being used of course.

They are "traditional" HDDs and I am used to hearing them as they work. But having the sound of a helicopter just at the slightest scroll is very irritating. The noise is loud and lasts as long as I am scrolling. The moment I stop scrolling, the noises stop immediately.

Moving the database to an SSD = of course no sound is produced.

Notes version: 2.1.0
OS: Windows 11 version 22H2 (22621.1848)

HDDs tested:

  • WD Green WD40EZRX
  • Toshiba HDWG480
@movrajr
Copy link

movrajr commented Jul 27, 2023

There's definitely disk activity when scrolling. Most of it involves writing to notes.db-journal.

image

@movrajr
Copy link

movrajr commented Jul 27, 2023

Might be caused by writing the scrollbar_position to the database in notelistdelegateeditor.cpp I think.

@zjeffer
Copy link
Collaborator

zjeffer commented Jul 27, 2023

Thanks for reporting. I think we should maybe only write certain data every x seconds, instead of on every change.

@nuttyartist
Copy link
Owner

Thanks for reporting. I think we should maybe only write certain data every x seconds, instead of on every change.

Especially not everytime the scrolling position changes, I noticed that yesterday as well.

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