BOINC on tmpfs/RAM-disk?

Message boards : Questions and problems : BOINC on tmpfs/RAM-disk?
Message board moderation

To post messages, you must log in.

AuthorMessage
salantrax

Send message
Joined: 16 Apr 14
Posts: 2
Sweden
Message 53662 - Posted: 16 Apr 2014, 11:53:02 UTC
Last modified: 16 Apr 2014, 11:54:27 UTC

Hello!

I recently started running the (Linux) BOINC client on an 8-core CPU.

I notice that BOINC only uses 13.95 MB out of the 2000 MB limit I set (checked after 36 hours, in GUI: Disk-> Total disk usage -> Used by BOINC).

Is that accurate? If so, can't I just have BOINC use a maximum of, say, 20 MB on RAM-disk instead? Right now I notice stuff like firefox takes longer to load, which I assume is due to disk-hogging by BOINC, which runs at nice 19.

EDIT: And firefox runs at nice 0.
ID: 53662 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 53663 - Posted: 16 Apr 2014, 12:14:35 UTC - in response to Message 53662.  

Do you want to run BOINC from a USB stick, or do you only want the project files to run from the USB stick?

For if a total package, there are (older) packages out there that allow that, such as Dotsch/UX. Or just throw "BOINC thumbdrive" into a search engine and lots of info will come up.

But if you only want to run the project files from the thumbdrive, then you'll need to do a lot of hands-on work, as it isn't simply pointing the data directory to the thumbdrive and off you go. Well, it is, but under Linux that means editing a lot of (text) files and symlinks.

How much space BOINC picks is of course dependent on which projects you run and how much work you and the project allow BOINC to download. Some CPDN models still use 500MB and more storage space, Einstein will set you back a good gigabyte for the least amount of work, and Seti --with its 100 task limit-- will only use 32MB or 800MB, depending on what you can get and run (multibeam or astropulse).
ID: 53663 · Report as offensive
salantrax

Send message
Joined: 16 Apr 14
Posts: 2
Sweden
Message 53666 - Posted: 16 Apr 2014, 13:08:31 UTC - in response to Message 53663.  
Last modified: 16 Apr 2014, 13:16:14 UTC

I guess I want to run the program from my hard drive (I don't have a spare USB drive at the moment), but I don't want the jobs to generate too much hard drive I/O.

In the example of firefox, its processes gets as much CPU time as they want, but they are still in wait state because (I assume) BOINC uses the HDD a lot in the threads that uses the remaining CPU time, which affects firefox performance.

I don't know if it is just the project files that get manipulated a lot while running?

I suppose I want the project files to be read/written from/to a 100 MB pool in RAM. Would it help to point the data dir to /tmp, which is on RAM? (Assuming I only participate in projects that require less than 100 MB.)
ID: 53666 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 53671 - Posted: 16 Apr 2014, 14:00:22 UTC - in response to Message 53666.  

Where do you see that Firefox is waiting for disk IO? Is your HDD led blinking like crazy?

I'm asking because as far as I know, the only times when BOINC science apps create massive amount of IO is when they start up and read very large input files. 13 MB isn't really very large.

(There's exceptions to everything. I think the Clean Energy project from WCG made huge amounts of IO and VM apps might do that as well when they take snapshots.)
ID: 53671 · Report as offensive

Message boards : Questions and problems : BOINC on tmpfs/RAM-disk?

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.