in reply to Re: Increasing CPU Usage/Decreasing Run Time
in thread Increasing CPU Usage/Decreasing Run Time
Here's how I open the BerkeleyDB hash tables though;
tie %$file, "BerkeleyDB::Hash",
-Filename => $file,
-Flags => DB_CREATE
or die "Cannot open file\n" ;
############ UPDATE #############
I just re-ran, again, with those hashes untied. That's exactly what the problem is. It's taking too much IO to the hash table. Any idea how to speed this up? I'm thinking about a process that dumps to the hash table after all the hard processing is done.
Comments/Suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Increasing CPU Usage/Decreasing Run Time
by BrowserUk (Patriarch) on Jul 25, 2005 at 22:57 UTC | |
|
Re^3: Increasing CPU Usage/Decreasing Run Time
by diotalevi (Canon) on Jul 26, 2005 at 03:36 UTC | |
by tphyahoo (Vicar) on Jul 26, 2005 at 07:57 UTC |