Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

OS lecture 1+2

TermDefinition
Spooling אחסון ביניים של מידע המיועד ליחידה חיצונית המחוברת למחשב (למשל מדפסת) כך שניתן יהיה להעתיק את המידע ברקע
Multics מערכת הפעלה ישנה אשר אפשרה עבודה מקבילית בעזרת תהליכים, מערכות קבצים וזיכרון וירטואלי. השפיעה רבות על מערכות הפעלה מודרניות
Unix מערכת הפעלה שהיא הבסיס להרבה מערכות הפעלה כיום. ממשיכת דרכו של multics
DMA Device can transfer data to/from memory by itself
Monolithic Systems כל מערכת ההפעלה רצה כתוכנית אחת. ניתן לבצע לה הרחבות (למשל DLL-ים או kernel modules)
Layered Systems מערכת ההפעלה מחולקת לשכבות. אם שכבה עליונה קורסת, התחתונות יכולות להמשיך לעבוד
Bus ערוץ התקשורת הפנימי של המחשב. Bus הוא מקבילי, כל רכיבי ה-I/O רואים מה יש על ה-bus.
Interrupt פסיקה- פעולה הגורמת לקטיעת רצף הפקודות ב-CPU ולמעבר ביצוע שיגרה לטיפול באותה פסיקה. בסיום הטיפול-חוזרים לתוכנית שהופסקה. רגיסטרים: irq-מספר הפסיקה(לכל התקן מס' משלו), iva-מצביע לטבלה של כתובת השגרה לפי מס' הפסיקה, iia ו-ipsw שומרים את מצב ה-ia וה-psw
PSW רגיסטר ב-CPU המכיל מילה המתארת את מצב ה-CPU. ביטים חשובים: ku- kernel mode or user mide ie=interrupt enable
System Call System Call פקודת מכונה שמותר לבצע במצב user. כדי לגשת למשאבים כמו קלט/פלט, תוכנית ב-user צריכה "להגיש בקשה" באמצעות system call המעבירה את השליטה לkernel (שינוי ku).
fp מצביע על האזור במחסנית בו שמורים הארגומנטים
sp התא הפנוי הבא במחסנית
ia (pc) Instruction Address (Program Counter) כתובת הפקודה הבאה לביצוע
Process תהליך=תוכנית בריצה. תוכנית הופכת לתהליך כשה-OS מפעילה אותה. יצירת תהליכים וניהולם (wait,terminate) נעשה ע"י sys calls. יוצר אשלייה של מקבול
PCB Process Control Block מבנ"ת בו ה-OS שומרת מידע על תהליך. לכל תהליך נוצר PCB משלו (חלק מיצירת תהליך). ה-PCB-ים יושבים ב-RAM באזור ששייך ל-PCB .OS מכיל: מצב CPU (רגיסטרים), Mem Map (איזה חלקים ב-RAM שייכים לתהליך), מידע סטטי(מס' סידורי, קובץ exe), מ
fork/exec שני sys calls המשמשים ליצירת תהליך בUNIX: ה-OS לוקחת את הזיכרון של תהליך האב ומשכפלת אותו (fork) ואז מחליפה את התוכנית לתוכנית של הבן (exec). fork- אם הצליחה חוזרת פעמיים (כי התוכניות משוכפלות)- "0"-לתוכנית הבן, אחרת-לאב (ה-Pid של הבן). exec- לא חוזרת
Context Switch שרות יסודי של ה-OS: מעבר מתהליך אחד לשני. טעינת הרגיסטרים מתוך ה-PCB של התהליך הנבחר.
Dispatcher החלק ב-OS שמבצע את החלטות התזמון: מבצע את ה-Context Switch, מעביר לuser mode,עובר למקום הנכון בתוכנית של התהליך שנבחר. נקרא גם schedular.
Preemption שני סוגים של מדינויות תזמון: Preemptive- עוצרים תהליך באמצע(אם רץ יותר מידי זמן) ועוברים לאחר. Non-Preemptive - עוברים לתהליך אחר רק אם סיים או blocking.
pipe צינור שמקשר בין 2 fd-ים. יכולים להיות בתהליכים שונים
IPC Inter process communication תקשורת בין שני תהליכים
Created by: Idan05
Popular Engineering sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards