|
From: Dmitri A. S. <das...@gm...> - 2006-08-07 07:44:37
|
On 8/7/06, Ethan A Merritt <merritt@u.washington.edu> wrote: > On Sunday 06 August 2006 10:07 pm, Dmitri A. Sergatskov wrote: ... > > For plot "t.dat" using ($1):($2) > 4.456u 2.342s 0:06.79 100.0% 0+0k 0+0io 0pf+0w > > > I did multiple passes, so I am pretty sure the data file is in disk cache. > > All this is on FedoraCore 5/ Pentiun4 2.6GHz / 2GB of RAM > > So it runs faster on my machine, but yes it spends more time on the second test. I am surprised that the difference is so large. I tried running both hyperthreaded and non-hyperthreaded and it is pretty much the same. May be the data format matters? My file is available at ftp://coffee.phys.unm.edu/pub/dima/incoming/t-das.dat.bz2 (it is 11 Meg) You can drop off yours to there as well. I've also tried GNU time (/usr/bin/time, instead of using built-in bash time); it gives slightly more info, and the only big difference I've noticed was: (plot w/o using): Involuntary context switches: 452 (plot with using ($1):($2)) Involuntary context switches: 1165 Perhaps evaluation of a token trashes the CPU cache ... > -- > Ethan A Merritt > Sincerely, Dmitri. -- |