You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by Nicolas on 10 Dec 38606274 05:20 UTC
Let's compare.
Write a potentially big uncompressed XML file (over 2GB for SETI@Home), then use system() to run gzip on it (which reads it '''again''', writes something like 300MB, then deletes the original that took so long to write). Total I/O: 2GB read, 2.3GB write, plus the database reads (which are quite a lot too).
Use zlib to write the file in compressed form in the first place. I/O: 300MB write, plus database reads.
Which would you choose?
I'll see if I can modify db_dump myself to use zlib, and post the patch. Otherwise, anyone is free to take the task.
Reported by Nicolas on 10 Dec 38606274 05:20 UTC
Let's compare.
gzip
on it (which reads it '''again''', writes something like 300MB, then deletes the original that took so long to write). Total I/O: 2GB read, 2.3GB write, plus the database reads (which are quite a lot too).Which would you choose?
I'll see if I can modify db_dump myself to use zlib, and post the patch. Otherwise, anyone is free to take the task.
Migrated-From: http://boinc.berkeley.edu/trac/ticket/717
The text was updated successfully, but these errors were encountered: