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 > Domanda Tempo Medio d'accesso
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
xsia
.amico.

User info:
Registered: Jul 2011
Posts: 23 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 5:17:15 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Domanda Tempo Medio d'accesso

Ciao a tutti,

c'è una domanda d'esame sul tempo medio d'accesso alla quale, nonostante sia banale (credo), non riesco a rispondere.

La domanda è:

Qual'è il tempo medio di accesso alla memoria in un sistema con memoria virtuale senza TLB, caratterizzato dai seguenti paramentri.
Tempo di accesso alla memoria centrale 100ns, tempo di gestione del page fault 10ms, hit ratio delle ricerche in tabella 99%
- 10,099 microsecondi
- 10,198 microsecondi
- 10,198 nanosecondi
- 10,099 nanosecondi

Dalla slide numero 5 pagina 49 leggo:

code:
In un sistema con memoria virtuale il tempo di page fault e la frequenza con cui ciò si verifica sono parametri critici, infatti se p è la probabilità che si verifichi un page fault: tempo medio di accesso = memory access + p * tempo di page fault


dato che noi abbiamo l'hit ratio e p rappresenta il miss ratio calcolo:
miss ratio = 1 - hit ratio = 1 - 99% = 0.01

dunque applico la formula (convertendo i millisecondi in nanosecondi)

tempo medio di accesso = 100ns + 0.01 * 10 000 000ns = 100100 ns (è evidentemente sbagliato anche se convertito in microsecondi)

Ho provato ad invertire numero ma nulla!

Cosa sbaglio? Qual'è il procedimento esatto?

10-09-2013 18:28
Click Here to See the Profile for xsia Click here to Send xsia a Private Message Find more posts by xsia Add xsia to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 11:50.    Post New Thread    Post A Reply
  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.026 seconds (75.43% PHP - 24.57% MySQL) con 23 query.