turnin performs terribly under heavy load
daknob opened this issue · 0 comments
daknob commented
Tests of turnin(1)
under "heavy" load have been completed. More specifically, the following bash(1)
command was issued to a debian computer:
while [ true ]; do printf "y\ny" | turnin assignment@course file.c & done
Although it is extremely unlikely that such a case will happen in a production environment, the whole purpose was to simulate race conditions, i.e. how turnin(1)
handles submissions by users simultaneously.
Parts of the LOGFILE
and the SHA256
files can be seen below:
LOGFILE
turnin 2.0: student - 1 09/21/14 15:07 1
turnin 2.0: student - 2 09/21/14 15:07 1
turnin 2.0: student - 2 09/21/14 15:07 1
turnin 2.0: student - 2 09/21/14 15:07 1
turnin 2.0: student - 2 09/21/14 15:07 1
turnin 2.0: student - 2 09/21/14 15:07 1
turnin 2.0: student - 2 09/21/14 15:07 1
turnin 2.0: student - 2 09/21/14 15:07 1
turnin 2.0: student - 2 09/21/14 15:07 1
turnin 2.0: student - 3 09/21/14 15:07 1
turnin 2.0: student - 4 09/21/14 15:07 1
turnin 2.0: student - 6 09/21/14 15:07 1
turnin 2.0: student - 6 09/21/14 15:07 1
turnin 2.0: student - 7 09/21/14 15:07 1
turnin 2.0: student - 6 09/21/14 15:07 1
turnin 2.0: student - 6 09/21/14 15:07 1
SHA256
4a28ddd1770703177a9e2dafd1e9a3aea3de53723e39d539de8358fff25d0afb student-4.tgz
4a28ddd1770703177a9e2dafd1e9a3aea3de53723e39d539de8358fff25d0afb student-5.tgz
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 student-6.tgz
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 student-18.tgz
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 student-18.tgz
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 student-6.tgz
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 student-18.tgz