| Who | When |
Messages | |
|
|
|
| dale reed
|
1
|
 |
|
08-26-2002 07:52 PM ET (US)
|
|
Hello all, This discussion forum is a way to share questions and ideas. You may also post anonymously. Please use this ability responsibly!
|
| Jim
|
2
|
 |
|
08-29-2002 04:36 PM ET (US)
|
|
Hi, Prof. Reed
I saw there are some problems that you have posted on the schedule page. I wanna know what date is that homework due?
|
| Eli
|
3
|
 |
|
09-04-2002 02:44 PM ET (US)
|
|
|
| CS385
|
4
|
 |
|
09-07-2002 12:16 PM ET (US)
|
|
Do we have to do the HW for the first week too?
|
| Michael Lehene
|
5
|
 |
|
09-07-2002 10:26 PM ET (US)
|
|
How do I submit the text file of the homework?
|
| dale reed
|
6
|
 |
|
09-09-2002 11:19 PM ET (US)
|
|
Edited by author 09-09-2002 11:40 PM
Interesting article Eli. Seems it might be pretty difficult to enforce, though.
Regarding the homework, it is due on Tuesday (tomorrow), handed in on paper at the beginning of class. (BTW, one student had the not-so-good idea of requesting a download ID from the textbook publisher's faculty page. The publisher promptly contacted me...)
|
| Rafal
|
7
|
 |
|
09-22-2002 10:01 PM ET (US)
|
|
I'm worried about the tests and the programs. I hope we will be able to some sample tests and some programs to write soon.
|
| David
|
8
|
 |
|
09-27-2002 11:31 PM ET (US)
|
|
Edited by author 09-27-2002 11:32 PM
I thought we were supposed to have a discussion on fridays. The Ta's supposedly have office hours on fridays in LC F1 but they have never shown up except for the second or third week section. Are we going to see them during discussion to get some more insight on what we are studying?
|
| Rafal
|
9
|
 |
|
09-28-2002 11:32 AM ET (US)
|
|
I was waiting on friday also, nobody showed up. I figured since we have homework on monday the TA would be there. I agree with David. /m8
|
| david
|
10
|
 |
|
09-29-2002 01:36 PM ET (US)
|
|
I cant access bert not ernie from home. Does anyone know if there is a problem with those two?
|
| Rafal
|
11
|
 |
|
09-29-2002 05:42 PM ET (US)
|
|
I can't get to them either.
|
| Eli
|
12
|
 |
|
09-29-2002 11:05 PM ET (US)
|
|
I was able to access bert after trying a few times. The turnin command gives me a 'can't find project list file...' error though.
|
| Kyle
|
13
|
 |
|
09-30-2002 12:13 AM ET (US)
|
|
Ya, there is no turnin directory for ~i385. At least it does not show one if you type >ls ~i385/turnin.
|
| Rafal
|
14
|
 |
|
09-30-2002 01:38 AM ET (US)
|
|
[ernie] ~> turnin -l
For this listing, you may enter the course information interactively. You are not subscribed to any valid course, here is a list of the courses you may use currently: cs101 cs102 cs107 cs108 cs201 cs202 cs266 cs301 cs335 cs340 cs366 cs376 cs385 cs401 cs411 cs422 cs440 cs440a cs441 cs450 cs466 cs474 cs476 cs480 cs480a cs485 cs515 cs528 cs540 cs553 cs554 cs559 cs565 cs569 cs580 cs594 cs594a Enter course name? [cs101] cs385 turnin: can't find project list file in /home4/instruct/i385/submit/Projlist
I won't have computer access tomorrow morning. I don't know will happen to those that won't turn it in if it starts working tomorrow morning because of no computer access.
|
| Wut Hang
|
15
|
 |
|
09-30-2002 09:59 AM ET (US)
|
|
I could not even access to bert or ernie with telnet or exeed at school. But icarus is working.
|
| David
|
16
|
 |
|
09-30-2002 11:05 AM ET (US)
|
|
Okay, there is no access to bert or ernie. Are we going to get some kind of extension if the machines don't come up in time? I hope so.
|
| Michael
|
17
|
 |
|
09-30-2002 03:16 PM ET (US)
|
|
Hi. Does anyone know how much of chapter 6 we are supposed to study for the test on Thursday? There is some stuff there that we never discussed about, such as ALGORITHM EVALUATION.
ps. I had problems loging into bert today, but it started to work again by 11.30. Lucky me.
|
| Wut Hang
|
18
|
 |
|
09-30-2002 04:59 PM ET (US)
|
|
Is there anyoen willing to form a study group to study for the test on tuesday and wednesday?
|
| Rafal
|
19
|
 |
|
09-30-2002 05:51 PM ET (US)
|
|
I am, what time and when? I usually finish after 5pm
|
| Wut Hang
|
20
|
 |
|
09-30-2002 06:03 PM ET (US)
|
|
I am done with school after 1:45 pm
|
| Rafal
|
21
|
 |
|
10-02-2002 10:38 PM ET (US)
|
|
Can we use calculators on tomorrow's exam?
|
| CS385
|
22
|
 |
|
10-03-2002 11:20 PM ET (US)
|
|
Edited by author 10-03-2002 11:21 PM
so how did everyone do in the exam? I think it was pretty fair exam except i could've used more time. But hey this is where they test us, so no complains. Just one request for you professor, if you can post solutions to this exam before tuesday..just can't wait till tuesday.. it will be greatly appreciated.
|
dale reed
|
23
|
 |
|
10-18-2002 02:25 AM ET (US)
|
|
A few messages back there was a criticism of the TA's not showing up for the "lab" section on Friday's. I have had them hold this session selectively, announcing it to the class each time. This session has run a couple times to go over homework problems, and will run again Friday (today!) in preparation for the programming assignment.
|
| Michael
|
24
|
 |
|
10-18-2002 02:38 AM ET (US)
|
|
is anyone having problems copying the files for the programming assignment? i made the directory and as soon as i try to use the copy command it give me an error message reading "cp:no match found". does anyone know what this could be?
|
| Michael
|
25
|
 |
|
10-18-2002 02:44 AM ET (US)
|
|
hey i figured it out. when you type out the line:- cp ~i385/cpu/* . make sure you put a space between the * and the . or else it does not work.
|
| Project
|
26
|
 |
|
10-26-2002 05:48 PM ET (US)
|
|
In the dispatch function, it says /* Check to see if there is no one to run. If not, set PTBR to NULL, make sure the tail of the queue is set properly and return */
this is what i am thinking: if there is no one runs, then the readyQ_head is empty, so is the readyQ_tail. so why do we need to set the tail?
could some one correct me?
|
| Can We Use STL ?
|
27
|
 |
|
10-26-2002 06:57 PM ET (US)
|
|
Hi, are we allowed to use STL in OSP ???
|
| OSP
|
28
|
 |
|
10-26-2002 08:53 PM ET (US)
|
|
does anyone know how do we run this simulator? i mean to say after we made changes to cpu.c file how do we know if it is right? let's say i did make after i made changes to cpu.c and i got no errors...what is the step after that? how do we see if the output matches the OSP.demo file. i don't understand that. if anyone knows?
|
| Rafal
|
29
|
 |
|
10-26-2002 09:19 PM ET (US)
|
|
We are allowed anything to implement the stack ( my guess ).
There is an error in the turnin line: turnin -c eecs371a -p fcfs cpu.c
it should be turnin -c cs385 -p fcfs cpu.c
OSP: after you compile your own cpu.c, compile your own osp, and then run your osp with the paramaters provided and see if you get the same thing.
Just because the cpu.c compiles, doesn't mean it implements round robin.
|
| last_dispatch
|
30
|
 |
|
10-26-2002 10:00 PM ET (US)
|
|
do we assign the get_clock() to the last_dispatch in the chosen process(new to run) or to the stopped process(the one in the very beginning) in the dispatch function?
|
| osp
|
31
|
 |
|
10-27-2002 01:50 AM ET (US)
|
|
Edited by author 10-27-2002 01:53 AM
hey that is what i am asking? it doesn't run using OSP par.low command it creates the executable OSP and cpu.o but it doesn't run just by typing OSP.. i think there is some problem
|
| osp warning !!
|
32
|
 |
|
10-27-2002 08:51 PM ET (US)
|
|
I got this warning:
Idle CPU with non-empty ready queue.
does anyone have a clue why this happened?
|
| insert_ready
|
33
|
 |
|
10-27-2002 09:13 PM ET (US)
|
|
In the inaert_ready() function, the the pcb IS ALREADY in the ready_q when we do the checking. we do nothing quitting the function or we change the pcb status to ready then quit?
|
| OSP Run
|
34
|
 |
|
10-27-2002 10:10 PM ET (US)
|
|
Edited by author 10-27-2002 10:10 PM
does anyone know how to run this? after we compile with make...i got no errors after I compile...and then to run i am just typing osp par.low and it is telling me bad command...any ideas? anyone?
|
| Rafal
|
35
|
 |
|
10-27-2002 10:34 PM ET (US)
|
|
To run you probably need to type ./OSP par.low
You need ./ and remember that CASE matters, and I think the file is upper case ( the one that gets compiled )
|
| thanks
|
36
|
 |
|
10-27-2002 10:55 PM ET (US)
|
|
Rafal: Thank you very much. I appreciate it. Now one last question. I do not understand that -d option that they talk about in manual. When you run your OSP file. it just has to match with OSP.demo and if it matches then your code is correct? am I right? ./OSP par.low did work. so thanks for that.
|
| Rafal
|
37
|
 |
|
10-28-2002 12:18 AM ET (US)
|
|
the -d option is explained in the manual :) But I'll just add and say that you should use it if you are doing the same test over and over ( and changing your code ) to see if you get the same result.
|
| osp
|
38
|
 |
|
10-28-2002 12:28 AM ET (US)
|
|
thanks rafal for all your help
|
| David
|
39
|
 |
|
10-30-2002 11:26 AM ET (US)
|
|
Edited by author 10-30-2002 11:27 AM
hey guys, my program is done but when i run it, the output i get is not the same as that of the demo. At times, my program creates more processes or less processes than the demo. It runs alright without any errors. Is anyone having the same problem? Does anyone no how to fix it?
|
| Rafal
|
40
|
 |
|
11-01-2002 02:05 AM ET (US)
|
|
1.Do we really need to print out our name, assignment number and name to the screen ? Or is including our info on the top of the cpu.c enough?
2. is the quantum set by the teacher ? or are we suppose to set it ourselves... ? Anyone?
|
| Midterm II
|
41
|
 |
|
11-05-2002 05:14 PM ET (US)
|
|
Do guys want to have Midterm next week on 11/12/02? If yes then post your message saying YES.
|
| YES
|
42
|
 |
|
11-05-2002 05:15 PM ET (US)
|
|
YES.
|
| YES
|
43
|
 |
|
11-05-2002 06:49 PM ET (US)
|
|
YES
|
| Rafal
|
44
|
 |
|
11-05-2002 08:14 PM ET (US)
|
|
Yes, definatly.
|
| cc
|
45
|
 |
|
11-05-2002 11:50 PM ET (US)
|
|
Yes. It would be much better.
|
| YES
|
46
|
 |
|
11-06-2002 11:42 AM ET (US)
|
|
YES it would be great help
|
| Anu
|
47
|
 |
|
11-06-2002 02:08 PM ET (US)
|
|
Yes..
|
| cc
|
48
|
 |
|
11-06-2002 04:04 PM ET (US)
|
|
Yes
|
| cs385
|
49
|
 |
|
11-06-2002 04:52 PM ET (US)
|
|
No...the more it gets delayed...there is gonna be more material to study for...plus more tension...so definitely no...
|
| Pshah
|
50
|
 |
|
11-06-2002 10:35 PM ET (US)
|
|
Yes that would be good
|
| Akhan
|
51
|
 |
|
11-06-2002 10:35 PM ET (US)
|
|
Yes, gives more time to cover all the algorithms
|
| LRU
|
52
|
 |
|
11-20-2002 06:00 PM ET (US)
|
|
What is LRU in the new assigment?
|
| Re: LRU
|
53
|
 |
|
11-20-2002 06:28 PM ET (US)
|
|
Least Recently Used.
|
| LRU Time Stamp
|
54
|
 |
|
11-20-2002 06:34 PM ET (US)
|
|
What is this time stamp? do we use get_clock() to get the time stamp?
|
| project1
|
55
|
 |
|
11-21-2002 02:41 AM ET (US)
|
|
hello prof. It will be greatly appreciated if you can post the solution to the first project online. Thanks
|
| Valid Bit??
|
56
|
 |
|
11-24-2002 10:33 AM ET (US)
|
|
in the deallocate() fuction, what does it mean by valid?
|
| get_page()
|
57
|
 |
|
11-24-2002 08:15 PM ET (US)
|
|
In the get_page() function, how do we know how many pages or frames a process need?
|
| prepage
|
58
|
 |
|
12-01-2002 05:13 PM ET (US)
|
|
How many times should a process be prepaged? 0 ?
This is from a run on the prof's OSP.demo
Total num of pages swapped out = 532 due to page faults = 391 due to page locks set by I/O = 99 due to prepaging = 42
and this is mine: Total num of pages swapped out = 248 due to page faults = 189 due to page locks set by I/O = 59 due to prepaging = 0
If we aren't doing prepaging.. how come the .demo swaps pages due to prepaging?
|
| whatever
|
59
|
 |
|
12-01-2002 08:13 PM ET (US)
|
|
do you need to reset lock_count to 0 in the deallocate() function??
|
| prepage
|
60
|
 |
|
12-02-2002 12:39 AM ET (US)
|
|
no... because it could be locked more than once, so you just decrese it
|
| siodrum
|
61
|
 |
|
12-02-2002 06:56 AM ET (US)
|
|
Edited by author 12-02-2002 06:57 AM
does anyone's program do this? (like demo) after dispatch(pcb 0) prepageing and before dispatch(pcb 0) process dispatched, Simcore swaps in page o & 1 of pcb 0 by calling siodrum. Mine doesn't swap in anything here.
|
| hshang
|
62
|
 |
|
12-08-2002 10:37 AM ET (US)
|
|
can you post the solution of homework#4?
|
| CS385
|
63
|
 |
|
12-09-2002 01:36 PM ET (US)
|
|
Edited by author 12-09-2002 01:37 PM
Hi prof. reed, I was wondering if you are going to post some review topics and some practice questions for the final exam. I believe u said in class that once you make the exam you will post some info regarding final exam topics and format of the exam. Thanks for your time
|
| HomeWork 4
|
64
|
 |
|
12-10-2002 08:15 PM ET (US)
|
|
Can any 1 who has perfect score on hw4 post his/her answer?
|
| Final
|
65
|
 |
|
12-11-2002 06:57 PM ET (US)
|
|
Does anyone know what chapters/sections exactly we need to review for the final exam.
|