File : queue.dat Queue Version : 5.01 Size : 7168 bytes F@H Client : FAH502-Linux.exe
due: Thu Aug 26 23:41:10 2004 (17 days)
This time is calculated by the client when it downloads a unit. It is determined by adding the "begin" time to the expiration period, if this expiration data is sent as part of the work unit. The interval, which qd shows in parentheses after the date, is rounded to the nearest day, or to the nearest hour if it is less than two days. Genome units had no deadlines, nor do a few Folding units designated for machines which are either slow or only infrequently connected to the Internet. All other Folding units do, but not all work units have the expiration period fields filled in. The stored time is an epoch 2000 value, based on the local machine's clock.
There are actually two sorts of deadline associated with a work unit. The one reported here, which is the only one known to the client, is what the Stanford project summary web page calls the "Final Deadline", after which time the client may delete the unit and no credit will be given even if it is completed and returned. The other deadline, shown on the project summary as "Preferred", indicates when the unit will be considered late enough that the server might send another copy of it to someone else, which means that a unit returned after that time might have little scientific value.
NOTE that if the machine clock runs, or is set, forward to a time past the "due" date, the client might think the unit is past due, and delete it.
grep "688 WU expiration" qd.c u32 due[4]; /* 688 WU expiration time */
./qd -q queue.dat | grep due end: Mon Mar 20 13:53:56 2006; due: Sun Apr 30 11:15:21 2006 (44 days) # Index 3 end: Thu Apr 13 23:21:24 2006; due: Fri Jun 16 04:17:39 2006 (82 days) # Index 8 end: Sun Apr 30 16:28:54 2006; due: Tue Jun 20 23:22:07 2006 (68 days) # Index 9 end: Fri May 12 05:29:13 2006; due: Fri Jul 21 16:29:40 2006 (82 days) # Index 0 end: Wed May 24 00:27:04 2006; due: Wed Aug 2 05:30:13 2006 (82 days) # Index 1 due: Mon Jul 10 00:28:05 2006 (47 days) # Index 2
hexdump -Cv -s 696 -n 16 queue.dat # Index 0 000002b8 54 a1 53 0c 00 00 00 00 00 00 00 00 00 00 00 00 |T¡S.............| 000002c8 hexdump -Cv -s 1408 -n 16 queue.dat # Index 1 00000580 c5 d8 62 0c 00 00 00 00 00 00 00 00 00 00 00 00 |ÅØb.............| 00000590 hexdump -Cv -s 2120 -n 16 queue.dat # Index 2 00000848 75 3f 44 0c 00 00 00 00 00 00 00 00 00 00 00 00 |u?D.............| 00000858 hexdump -Cv -s 2832 -n 16 queue.dat # Index 3 00000b10 a9 3c e7 0b 00 00 00 00 00 00 00 00 00 00 00 00 |©<ç.............| 00000b20 hexdump -Cv -s 3544 -n 16 queue.dat # Index 4 00000dd8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000de8 hexdump -Cv -s 4256 -n 16 queue.dat # Index 5 000010a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000010b0 hexdump -Cv -s 4968 -n 16 queue.dat # Index 6 00001368 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001378 hexdump -Cv -s 5680 -n 16 queue.dat # Index 7 00001630 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001640 hexdump -Cv -s 6392 -n 16 queue.dat # Index 8 000018f8 43 d1 24 0c 00 00 00 00 00 00 00 00 00 00 00 00 |CÑ$.............| 00001908 hexdump -Cv -s 7104 -n 16 queue.dat # Index 9 00001bc0 7f 23 2b 0c 00 00 00 00 00 00 00 00 00 00 00 00 |.#+.............| 00001bd0