सीधे मुख्य सामग्री पर जाएं

मल्टीप्रोग्रामिंग किसे कहते हैं? - What is Multiprogramming ?

                                 Multiprogramming

Batch programming की सबसे मुख्य समस्या यह है कि इसमें मुख्य memory व CPU का उचित उपयोग नहीं हो पाता है, क्योकि batch program एक के बाद एक execute होते हैं तथा जब एक program चलता रहता है, तब वह पूरी मुख्य memory को घेरे रहता है, जब यह program पूर्ण हो जाता है, तब अगला program memory में load किया जाता है, इस तरह से पूरी memory में हमेशा कोई एक program ही रहता है, किन्तु यह program इतना बड़ा नहीं होता है कि पूरी memory का उपयोग कर सके।  इसलिए batch processing में memory का पूर्ण उपयोग नहीं हो पाता है। 

तब OS में एक कई तकनीक, multiprogramming को विकसित किया गया। Multiprogramming का अर्थ है एक से ज्यादा programmes का main memory में एक साथ होना जिससे कि CPU अपने समय का उपयोग बहुत से programmes के लिए करे, बजाय सुस्त रहने के (जब एक program हो और वह भी input/output process में शामिल हो। ) यदि एक program को CPU execute कर रहा है, तो दूसरा input/output प्रक्रिया में शामिल है व तीसरा प्रोग्राम CPU की प्रतिक्षा में है,परन्तु यहाँ पर भी CPU सिर्फ एक program को ही एक समय में execute करेगा।

इस तरह से multiprogramming के द्वारा CPU व memory दोनों का उपयोग अच्छे से हो पाता है।  प्रोग्राम जो memory में store होते हैं, वे दो तरह के होते हैं- 

(i)Input/output bound program                           

ऐसे program जो कि office या commercial data processing (जिसमें कि record maintain किये जाते हैं ) के लिए बनते हैं, जिसमें input/output data बहुत बड़ी मात्रा में उपलब्ध रहता है, परन्तु computer के द्वारा प्रक्रियाएँ बहुत कम होती हैं, ऐसे program input/output bound based program कहलाता हैं, जो मुख्यतः input/output से जुड़े रहते हैं।  

(ii)CPU bound program                                        

कुछ programms जो research, engineering या scientific कार्य के लिए बने होते हैं, उनमें बहुत बड़ी-बड़ी व कठिन calculation होती हैं, किन्तु I/O data बहुत कम होता है, CPU bound program कहलाते हैं।  यहाँ CPU का बहुत अधिक उपयोग होता है। 

टिप्पणियाँ

इस ब्लॉग से लोकप्रिय पोस्ट

Privacy Policy RBirthday.

Privacy Policy We believe that privacy is important. This Privacy Policy applies to all apps (Android) owned by the publisher of "RBirthday". We have created this policy to explain our privacy practices so that you understand what information is collected, used and disclosed about you. 1. Information We collect  While using our app, we may collect the following types of information: a. Personal Information We do not require you to create an account or provide personal information to use the app. b. Non-Personal Information We may collect non-personal information that does not directly identify you, such as device information (model, operating system version), usage data, and analytics data. This information helps us understand how our app is used and improve its functionality. 2. Use of Your Information The information we collect is used for following purposes: App Functionality: To provide and maintain the functionality of the app, including sending birthday wishes, creating...

GIMP क्या है? - What is GIMP ?

                                          GIMP जीएनयू इमेज मैनिपुलेशन प्रोग्राम (जीआईएमपी GIMP) फोटो के परिचालन का साधन है। इस साधन का इस्तेमाल अनेक इमेज मैनिपुलेशन कार्य जैसे फोटो रि-टचिंग, इमेज कम्पोज़ीशन और इमेज निर्माण के लिए किया जा सकता है। इस एप्लीकेशन को विभिन्न प्रकार के ऑपरेटिंग सिस्टम के परिवेश में निष्पादित किया जा सकता है। यह एक ऐसा ओपन सोर्स (फ्री) सॉफ्टवेयर है जिसे डाउनलोड और इनस्टाल किया जा सकता है।                 जीआईएमपी विस्तार करने योग्य और वितान्य है क्योकि आप तस्वीरों पर काम करने के लिए प्लग-इन और एक्सटेंशन जोड़ सकते है। जीआईएमपी का इस्तेमाल एक सरल पेंट प्रोग्राम या एक विशेषज्ञ गुडवत्ता फोटो रि-टचिंग प्रोग्राम के रूप  जा सकता है। जीआईएमपी आपको इमेज के फार्मेटों को रूपांतरित करने में भी सक्षम करता है। जीआईएमपी की मूल विशेषताएँ                        ...

HTML कोड में टेबल कैसे बनाएं जाते है ? - How to create tables in HTML code ?

TABLE Student Database HTML code <html> <head> <title>Employee</title> </head> <body> <br> <br> <center> <H3>Student Database</H3> <table width=60%>            <tr>                    <th align="Left">S.No.</th>                    <th align="Left">Name</th>                    <th align="Left">Course</th>                    <th align="Left">Discipline</th>            </tr>            <tr>                    <td align="justify"scope="row">1</td>                   ...