Progress Report 04-14-99

Update

  • Jun

    I found the way to set the PIT ( programmable interval timer ) for x86 processor via some assembly codes . I experimented this with two threads running the same bubble sorting algorithm on 20000 integers. For thead 1, when I schedule it, I always set the timer interrupt to be 50 hz and for thread 2, it's always set to 200 hz. Thread 1 finished much earlier than thread 2. The following lines shows the total clock cycles the two threads used to compute and used to wait to be scheduled

    tidtotal_intotal_out
    12409963321602048229
    224147675592401981086

    We can see thread 2 spent 4 times as many clock cycles waiting than thread 1.

    Immediate Goals

    What's next from David:
    The file interface can be beefed up. Support for .bss data needs to be added. Memory management needs to be added.

    I may opt to add 'console' thread, so that commands can be processed from the keyboard or from the net (like remote login). This should facilitate development time.

    I can also look into what Lan has done and try to use his checkpointing code.

    What's next from Jun:
    I will integrate the real-time API I wrote before and to make them work.