Discussion Board
There are no previous messagesGo to the following message
Current Forum: Homework 3 Forum
Date: Fri Sep 28 2001 5:50 pm
Author: Zelinski, Adam C. <acz@andrew.cmu.edu>
Subject: Speed versus Homework Grade question

Prof. Lee wrote earlier:

"Speed will not be graded. However, the grading script will, for the kind of input we've supplied already, stop your program after 20 seconds on a Sun Blade machine."

When I try to run my program on Andrew's linux boxes ("unix49"), it runs out of memory (even with the -mx64m flag)

However, when I switch over to sun14, here are 2 differing results:

* Result 1 *

[acz@unix14 workin]$ time java -mx64m Parser reut21000.plain
crop -> 22
information 211 -> 349

real 0m16.801s

* Result 2 *

[acz@unix14 workin]$ time java -mx64m Parser reut21000.plain
crop -> 22
information 211 -> 349

real 0m20.424s

As you can see, in 1 case the grading script would've been fine (<20 seconds), whereas in the other, it wouldn't have (>20 seconds).

Are factors like server load going to be taken into account when TAs are running the grading scripts on this homework?

Which servers should we run our programs on so we know that they will run successfully (and under 20 seconds) on the "Sun Blade machine" ?

Thanks for any info on this issue.

-Adam
Post response

There are no previous messagesGo to the following message
Current Thread Detail:
Speed versus Homework Grade question      Zelinski, Adam C.      Fri Sep 28 2001 5:50 pm       
Re: Speed versus Homework Grade que...      Lee, Peter      Fri Sep 28 2001 8:29 pm       
thanks -nt      Zelinski, Adam C.      Fri Sep 28 2001 9:02 pm       

Back to previous screen