Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Disk I/O use 100% #6020

Closed
seriouslylost opened this issue Jul 8, 2017 · 14 comments
Closed

Disk I/O use 100% #6020

seriouslylost opened this issue Jul 8, 2017 · 14 comments
Labels
Z7-duplicate 🖨 Issue is a duplicate. Closer should comment with a link to the duplicate.

Comments

@seriouslylost
Copy link

Hi,

I use Parity 1.6 on a PC with Windows 10 Home.
Turning on Parity (excellent software btw) causes Disk usage to reach 100% resulting in a slow computer.
I have doublechecked this several times.

@5chdn 5chdn added the Z1-question 🙋‍♀️ Issue is a question. Closer should answer. label Jul 10, 2017
@5chdn
Copy link
Contributor

5chdn commented Jul 10, 2017

You can use the --db-path flag to prevent Parity from filling your primary disk by pointing the database to another location. Usually a fresh parity installation should not fill up more than 10GB. How much does your instance require?

@5chdn 5chdn closed this as completed Jul 10, 2017
@arkpar
Copy link
Collaborator

arkpar commented Jul 10, 2017

Also, after the initial sync it takes a few hours to download and import the blockchain in the background. During this process time high CPU/disk usage is to be expected.

@seriouslylost
Copy link
Author

seriouslylost commented Jul 10, 2017 via email

@seriouslylost
Copy link
Author

seriouslylost commented Jul 10, 2017 via email

@tomusdrw
Copy link
Collaborator

How much RAM do you have? Maybe it's just the SWAP file starting to be used?

@5chdn
Copy link
Contributor

5chdn commented Jul 11, 2017

Now, understanding that we are talking not about disk usage but high disk I/O I can confirm this on all of my machines running parity. Systems often become unresponsive while parity syncs and it's not CPU or RAM (and not SWAP) but super high disk I/O (using iotop to monitor).

@5chdn 5chdn changed the title Disk use 100% Disk I/O use 100% Jul 11, 2017
@5chdn 5chdn reopened this Jul 11, 2017
@seriouslylost
Copy link
Author

@tomusdrw I have 8GB RAM. All the time when Parity is running disk usage is at 100%.

@eira-fransham
Copy link
Contributor

eira-fransham commented Jul 25, 2017

The best way to fix this on Linux is to use ionice, but the equivalent for Windows is more complicated. There's this StackOverflow answer that has some answers, plus this project on GitHub includes a shim to emulate ionice. I don't think this is our responsibility, although it might be nice to document it.

EDIT: There should be an option in the task manager, under the name "process priority". You want to set it to "background".

@5chdn
Copy link
Contributor

5chdn commented Jul 25, 2017

Didn't know about ionice(1) yet. Just tested with

ionice -c 3 -t parity

I could add some useful information to the FAQ.

@5chdn 5chdn added F5-documentation 📑 Documentation needs fixing, improving or augmenting. M3-docs 📑 Documentation. and removed Z1-question 🙋‍♀️ Issue is a question. Closer should answer. labels Jul 25, 2017
@eira-fransham
Copy link
Contributor

eira-fransham commented Jul 25, 2017

I just added it to the FAQ, along with instructions for Windows. I don't know if ionice works for macOS, but if anyone complains we can fix it then.

@5chdn
Copy link
Contributor

5chdn commented Jul 25, 2017

Probably not much more we can do here. Regarding Windows: It's not clear whether process priority does affect I/O.

@eira-fransham
Copy link
Contributor

The flavour text for low process priority mentions both CPU and IO on one of the versions of Windows that I saw a screenshot of, but I don't know if that's still true. Certainly at one time it affected IO priority.

@5chdn
Copy link
Contributor

5chdn commented Jul 26, 2017

Can confirm ionice -c3 (lowest priority: "idle") does not solve this issue. just doing a full sync of ropsten and my browser and other apps keep freezing.

@5chdn 5chdn added F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. M4-core ⛓ Core client code / Rust. and removed F5-documentation 📑 Documentation needs fixing, improving or augmenting. M3-docs 📑 Documentation. labels Aug 7, 2017
@5chdn 5chdn added the F7-footprint 🐾 An enhancement to provide a smaller (system load, memory, network or disk) footprint. label Aug 16, 2017
@5chdn
Copy link
Contributor

5chdn commented Aug 26, 2017

I would like to close this as duplicate of #6280 - let's keep this in one place.

@5chdn 5chdn closed this as completed Aug 26, 2017
@5chdn 5chdn added the Z7-duplicate 🖨 Issue is a duplicate. Closer should comment with a link to the duplicate. label Aug 26, 2017
@5chdn 5chdn removed F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. F7-footprint 🐾 An enhancement to provide a smaller (system load, memory, network or disk) footprint. M4-core ⛓ Core client code / Rust. labels Aug 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Z7-duplicate 🖨 Issue is a duplicate. Closer should comment with a link to the duplicate.
Projects
None yet
Development

No branches or pull requests

5 participants