[net.micro.68k] Knight's tour benchmark

stanley@belker.DEC (David Stanley OEM Tech Support) (08/19/85)

	   "...decvax!decwrl!dec-rhea!dec-belker!stanley"

I ran the knight's tour benchmark on a VAX-11/780 and a MicroVAX II that we
have. It was compiled with VAX C V2.0 and run under VMS V4.1 on the 780 and
MicroVMS V4.1m on the MicroVAX II.  Both system had the DECNET image running
at the time that the benchmarks were run.  The following C timer routine was
used:

struct tbuffer
{
int proc_user_time;
int proc_system_time;
int child_user_time;
int child_system_time;
};
struct tbuffer start_time;
struct tbuffer stop_time;
    
starttimer()
{    
    times(&start_time);
};

stoptimer()
{
    times(&stop_time);
    printf("\n\ncpu time in milliseconds %d\n\n",
      ((stop_time.proc_user_time-start_time.proc_user_time)*10) );
};

These were the results:

Knight's tour on a 5X5 board:

VAX-11/780	1.54 sec
MicroVAX II	1.47 sec

Knight's tour on a 6X6 board:

VAX-11/780	39.73 sec
MicroVAX II	38.52 sec

Knight's tour on a 7x7 board:

VAX-11/780	19 min 25.21 sec
MicroVAX II	19 min  1.45 sec
		

		Dave Stanley

Posted:	Mon 19-Aug-1985 13:21 EDT
To:	RHEA::DECWRL::"net.micro.68k"