So, report for week #4 is here… a little late, though
Classes at MScs course are almost over :)… last exam is next
tuesday, and then I’ll be able to dedicate more time to the
program.
But this week I thought I got a lot of progress… the threaded
mysqldump is working (with some problems when large tables are
selected), and a speedup of 1,9x was measured with a DB of 600MB,
in a quad-core machine. COOL!!!
—
PROJECT: Adding parallelism to mysqldump
WEEK 04
First of all, sorry this report is a little late…
KEY ACCOMPLISHMENTS LAST WEEK
* Reworked connect_to_db so that I can create one connection for
each thread now.
* Reworked some functions to turn them into thread-safe. This
implied eliminating global variables mysql, extended_row and
insert_pat, that are now passed as parameters when needed.
* Finished a prototype where one thread is generated by table to
be …