Page 1 of 1
Timport time on SunOS 5.8
Posted: Tue Dec 25, 2001 2:47 pm
by bart
I timported the "MASTER" table from
http://registry.faa.gov/database/AR122001.zip on my sun box and it took about 15 minutes to load using "timport -csv". Its got about 320,000 rows so it loaded at about 350 recs/sec.
Seems too long to me, you too?
Timport time on SunOS 5.8
Posted: Tue Dec 25, 2001 4:26 pm
by John
Yes, that does seem a little slow. I just tried the same timport on my home linux box and it loaded ~950 records/sec.
Timport time on SunOS 5.8
Posted: Wed Dec 26, 2001 12:19 am
by bart
HMMM. I put the db in /tmp (aka swap). Wonder if that had an effect?
Timport time on SunOS 5.8
Posted: Wed Dec 26, 2001 11:34 am
by John
Don't think so. I just compared two different steps, the timport to /dev/null with no DB ops, and a create table as select * on the existing DB. Both took twice as much user time on sparc than Linux. (700 MHz PIII vs 300 MHz UltraSparc-II). The timport takes twice as long as the table copy.
Timport time on SunOS 5.8
Posted: Wed Dec 26, 2001 11:54 am
by bart
In playing with the db I've noticed that SELECTs operate at a pretty good rate. Maybe sparcs just suck at write. Since sun is a big market share for Texis maybe some investigation is warranted.
Timport time on SunOS 5.8
Posted: Wed Dec 26, 2001 11:59 am
by John
We'll certainly investigate some more, although that's why I tried the timport without writing to the DB, and looked at user CPU time. It's almost as if the Sparc and Pentium get the same work done per clock cycle, and the Pentium cycles that much faster, although that's difficult to believe, so maybe there's some missing or different optimizations needed for the Sparc chip.