Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi operativi I > [SIS. OP. - BRUSCHI] Info 2004/05 Thread Rating: 1 votes, 3.00 average.
Pages (37): « First ... « 10 11 12 13 [14] 15 16 17 18 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
elpampero
Aniversario

User info:
Registered: Sep 2003
Posts: 911 (0.11 al dì)
Location: Milano
Corso: Informatica Magistrale
Anno: I
Time Online: 8 Days, 3:06:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mmmmm ho qualche problema a capirla scritta così....

14-04-2005 15:30
Click Here to See the Profile for elpampero Click here to Send elpampero a Private Message Find more posts by elpampero Add elpampero to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
linked
.fedelissimo.

User info:
Registered: Oct 2003
Posts: 52 (0.01 al dì)
Location:
Corso: Informatica
Anno: II
Time Online: 1 Day, 23:38:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

l'errore é nella definizione che ci hanno fornito un pó fuorviante:
in multiprogrammmazione quando un processo fa una richiesta di IO viene messo in wait consentendo l'esecuzione di altri processi;
in timesharing un processo utilizzza é running per un determinato periodo di tempo;
quindi in un sistema uniprogrammato un processo non consente ad altri processi l'utilizzo della cpu anche quando non la utilizza, cioé é in attesa di IO, con il timesharing passato il quanto di tempo prestabilito si passa all'esecuzione di un altro processo.

14-04-2005 15:52
Click Here to See the Profile for linked Click here to Send linked a Private Message Find more posts by linked Add linked to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
elpampero
Aniversario

User info:
Registered: Sep 2003
Posts: 911 (0.11 al dì)
Location: Milano
Corso: Informatica Magistrale
Anno: I
Time Online: 8 Days, 3:06:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Si distinguono cioè 2 significati (HW e utente)?
Non riesco a riallacciarlo al discorso
"un sistema concorrente è per forza time-sharing"

14-04-2005 15:54
Click Here to See the Profile for elpampero Click here to Send elpampero a Private Message Find more posts by elpampero Add elpampero to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
linked
.fedelissimo.

User info:
Registered: Oct 2003
Posts: 52 (0.01 al dì)
Location:
Corso: Informatica
Anno: II
Time Online: 1 Day, 23:38:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ops vuoi dire che mi sono inloopato su un'altra domanda?

14-04-2005 16:03
Click Here to See the Profile for linked Click here to Send linked a Private Message Find more posts by linked Add linked to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
linked
.fedelissimo.

User info:
Registered: Oct 2003
Posts: 52 (0.01 al dì)
Location:
Corso: Informatica
Anno: II
Time Online: 1 Day, 23:38:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

rewind ... ci sono:

la concorrenza puó esistere in un sistema solo se questo é multiprogrammato o timesharing (o entrambi).

quindi risposta C (hai sempre ragione tu? non vale ;-) )

dichiaro ufficialmente che sono cotto e alterato, mi ritiro per recuperare.

14-04-2005 16:19
Click Here to See the Profile for linked Click here to Send linked a Private Message Find more posts by linked Add linked to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
nothingman7
.amico.

User info:
Registered: Nov 2003
Posts: 38 (0.00 al dì)
Location: Milano
Corso: informatica
Anno: 2
Time Online: 1 Day, 1:57:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

qualcuno mi risolve questo al quanto banale ex sullo scheduling..io pensavo di averlo fatto giusto ma su questo sito http://www.di.unito.it/~gunetti/DID...pitolo6-sol.pdf ci sono le soluzioni e non coincidono..

6.4 dello Silberschatz

Si supponga che i seguenti processi arrivino in esecuzione al tempo indicato e consumeranno la quantita di tempo indicata. Si supponga uno scheduling non pre-emptive e di decidere sulla base delle informazioni disponibili al momento in cui le decisioni vanno prese

Processo t. di arrivo burst time
P1 0.0 8
P2 0.4 4
P3 1.0 1

Calcolare turnaround medio con FCFS e SJF


a me viene

FCFS 6.2
SJF 5.2

anche se non sono sicuro perkè al momento dell'esecuzione ho anche sottratto il tempo di arrivo dei vari processi..ma che vado cmq dovrebbe esser

FCFS 6.66
SJF 5.66

illuminatemi :-)

14-04-2005 20:18
Click Here to See the Profile for nothingman7 Click here to Send nothingman7 a Private Message Find more posts by nothingman7 Add nothingman7 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
freccia
dottor operatore ecologic

User info:
Registered: Oct 2003
Posts: 195 (0.02 al dì)
Location: Varese
Corso:
Anno: XXIII
Time Online: 7 Days, 1:43:30 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

per Nothingman7

I tuoi calcoli sono giusti.
Il problema è che chiedeva di calcolare il tornaround medio (tempo di completamento), mentre tu hai calcolato il tempo d'attesa medio.
ciao

14-04-2005 22:23
Click Here to See the Profile for freccia Click Here to See the Blog of freccia Click here to Send freccia a Private Message Find more posts by freccia Add freccia to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Mosco
M&M

User info:
Registered: Feb 2004
Posts: 648 (0.08 al dì)
Location: Varallo Sesia
Corso: Informatica triennale
Anno: Dottore! :-)
Time Online: 4 Days, 19:17:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ciao a tutti qualcuno sa a che ora di preciso dobbiamo presenterci per fare l'esame sabato dato che hanno fatto un pò di confusione con l'orario di inizio?
ringrazio in anticipo chi mi da una risp...

14-04-2005 22:44
Click Here to See the Profile for Mosco Click here to Send Mosco a Private Message Find more posts by Mosco Add Mosco to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Dante
JUANES

User info:
Registered: Jan 2003
Posts: 188 (0.02 al dì)
Location: Legnano
Corso: Informatica
Anno: Troppi Fuori Corso...
Time Online: 1 Day, 18:39:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Come confusione? Ho letto sul sito di sisop che l'esame è alle 10.30!
Aule e orari compitino del 16 Aprile
Il compitino del 16 Aprile si svolgera' al settore didattico, aule 200, 202, 208. L'orario di inizio e' previsto per le 10:30.
(da: http://homes.dico.unimi.it/sisop/bl....cgi/index.html)

__________________
Sometimes you hurt the ones who love you most and sometimes you hold the ones who leave you lost,
and sometimes you learn
but its too late, it's too late. EI

15-04-2005 00:02
Click Here to See the Profile for Dante Click Here to See the Blog of Dante Click here to Send Dante a Private Message Find more posts by Dante Add Dante to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
T_M_P
.arcimaestro.

User info:
Registered: May 2003
Posts: 458 (0.06 al dì)
Location: Milano
Corso: Informatica
Anno: 1 (Finirà mai?)
Time Online: 2 Days, 7:52:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by freccia
per Nothingman7

I tuoi calcoli sono giusti.
Il problema è che chiedeva di calcolare il tornaround medio (tempo di completamento), mentre tu hai calcolato il tempo d'attesa medio.
ciao


Scusate ma come si calcola il turnaround medio?

15-04-2005 08:27
Click Here to See the Profile for T_M_P Click here to Send T_M_P a Private Message Find more posts by T_M_P Add T_M_P to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
elpampero
Aniversario

User info:
Registered: Sep 2003
Posts: 911 (0.11 al dì)
Location: Milano
Corso: Informatica Magistrale
Anno: I
Time Online: 8 Days, 3:06:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Il tournaround di un processo lo calcoli facendo la differenza tra tempo di fine e tempo di arrivo. In pratica tutto il tempo da quando arriva in ready a quando viene terminato

15-04-2005 08:35
Click Here to See the Profile for elpampero Click here to Send elpampero a Private Message Find more posts by elpampero Add elpampero to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
T_M_P
.arcimaestro.

User info:
Registered: May 2003
Posts: 458 (0.06 al dì)
Location: Milano
Corso: Informatica
Anno: 1 (Finirà mai?)
Time Online: 2 Days, 7:52:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Grrrrr

Continuo a non capire:

FCFS:

P1 8-0
P2 12-0.4
P3 13-1

TURNAROUND medio: 10.53

SJF
P1 8-0
P3 9-1
P2 13-0.4

TURNAROUND Medio: 9.53

So che ho sbagliato, ma evidentemente non l'ho capito molto.. Qualcuno mi fa un'esempio?

15-04-2005 08:57
Click Here to See the Profile for T_M_P Click here to Send T_M_P a Private Message Find more posts by T_M_P Add T_M_P to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
elpampero
Aniversario

User info:
Registered: Sep 2003
Posts: 911 (0.11 al dì)
Location: Milano
Corso: Informatica Magistrale
Anno: I
Time Online: 8 Days, 3:06:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

FCFS:

P1 arriva all'istante 0 e ci mette 8 quindi tournaround 8
P2 arriva a 0.4 e viene completato a 20 (inizia a 8 e dura 12) quindi tournaround 20-0.4=19.6
P3 arriva a 1 e viene completato a 33 (inizia a 20 e dura 13) quindi tournaround 33-1=32

8+19.6+32=59.6 59.6/3=19.86

Tournaround medio 19.86

15-04-2005 09:04
Click Here to See the Profile for elpampero Click here to Send elpampero a Private Message Find more posts by elpampero Add elpampero to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
elpampero
Aniversario

User info:
Registered: Sep 2003
Posts: 911 (0.11 al dì)
Location: Milano
Corso: Informatica Magistrale
Anno: I
Time Online: 8 Days, 3:06:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

SJF:
TOURNAROUND MEDIO 17.86

15-04-2005 09:15
Click Here to See the Profile for elpampero Click here to Send elpampero a Private Message Find more posts by elpampero Add elpampero to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
T_M_P
.arcimaestro.

User info:
Registered: May 2003
Posts: 458 (0.06 al dì)
Location: Milano
Corso: Informatica
Anno: 1 (Finirà mai?)
Time Online: 2 Days, 7:52:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by elpampero
FCFS:

P1 arriva all'istante 0 e ci mette 8 quindi tournaround 8
P2 arriva a 0.4 e viene completato a 20 (inizia a 8 e dura 12) quindi tournaround 20-0.4=19.6
P3 arriva a 1 e viene completato a 33 (inizia a 20 e dura 13) quindi tournaround 33-1=32

8+19.6+32=59.6 59.6/3=19.86

Tournaround medio 19.86


Uhm.. scusa ma P2 non dura 4?? Perchè 12?
Anche P3, dura 1, perchè 13?

15-04-2005 09:39
Click Here to See the Profile for T_M_P Click here to Send T_M_P a Private Message Find more posts by T_M_P Add T_M_P to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 20:41.    Post New Thread    Post A Reply
Pages (37): « First ... « 10 11 12 13 [14] 15 16 17 18 » ... Last »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.157 seconds (63.30% PHP - 36.70% MySQL) con 24 query.