Kernel vs Operating System
Operating system yog qhov system software uas tswj xyuas lub computer. Nws cov dej num suav nrog kev tswj xyuas cov peev txheej hauv computer thiab ua kom lawv cov kev xav tau kev sib txuas lus. Lub Kernel yog ib feem tseem ceeb ntawm kev ua haujlwm uas feem ntau cuam tshuam ncaj qha kev sib txuas lus nrog cov khoom siv kho vajtse. Yog tsis muaj kernel, lub operating system tsis tuaj yeem ua haujlwm. Tab sis vim hais tias cov ntsiav ntawm lub operating system yog faus nrog ntau lwm yam, feem ntau cov neeg siv tsis paub txog lub hav zoov ntawm lub ntsiav.
Dab tsi yog Operating System?
Ib qho kev ua haujlwm yog software uas tswj xyuas lub computer. Nws yog ib qho kev sau ntawm cov ntaub ntawv thiab cov kev pab cuam uas tswj cov tshuab (hardware) cov peev txheej. Tsis tas li ntawd, nws haum rau kev ua tiav ntawm daim ntawv thov software (xws li lo lus processors thiab lwm yam) los ntawm kev ua raws li cov txheej txheem kev sib txuas ntawm cov khoom siv thiab cov ntawv thov (rau cov haujlwm xws li kev tawm tswv yim / tso tawm thiab kev ua haujlwm ntawm kev nco). Nws yog lub ntsiab system software khiav ntawm lub computer. Vim tias cov neeg siv tsis tuaj yeem khiav lwm qhov system lossis daim ntawv thov software yam tsis muaj kev khiav haujlwm zoo, lub operating system tuaj yeem suav tias yog qhov tseem ceeb tshaj plaws software rau lub computer.
Cov tshuab ua haujlwm muaj nyob hauv txhua hom tshuab (tsis yog khoos phis tawj nkaus xwb) uas muaj cov txheej txheem xws li xov tooj ntawm tes, console raws li kev ua si, khoos phis tawj super thiab servers. Cov kev khiav hauj lwm nrov tshaj plaws yog Microsoft Windows, Mac OS X, UNIX, Linux thiab BSD. Microsoft operating systems feem ntau yog siv nyob rau hauv kev lag luam kev lag luam, thaum UNIX raws li kev khiav hauj lwm systems yog nrov nrog cov kws txawj, vim hais tias lawv yog dawb thiab qhib qhov chaw (tsis zoo li Windows, uas yog kim heev).
Kernel yog dab tsi?
Kernel yog ib feem tseem ceeb ntawm lub khoos phis tawj Kev Ua Haujlwm. Nws yog tus choj tiag tiag ntawm lub hardware thiab daim ntawv thov software. Lub kernel feem ntau yog lub luag haujlwm rau kev tswj hwm cov peev txheej nrog rau kev sib txuas lus kho vajtse thiab software. Nws muab cov txheej txheem abstraction qis heev ntawm cov processors thiab cov khoom siv nkag / tso tawm. Cov txheej txheem kev sib txuas lus thiab kev hu xov tooj yog cov txheej txheem tseem ceeb uas cov chaw qis qis no tau muab rau lwm cov ntawv thov (los ntawm cov ntsiav). Kernels tau muab faib ua ntau hom raws li kev tsim / kev siv thiab yuav ua li cas txhua qhov kev ua haujlwm ua haujlwm tau ua. Txhua qhov system code raug tua nyob rau hauv tib qhov chaw nyob (rau kev txhim kho vim li cas) los ntawm monolithic kernels. Tab sis, feem ntau cov kev pabcuam yog khiav hauv cov neeg siv qhov chaw los ntawm microkernels (kev tuav pov hwm thiab kev hloov pauv tuaj yeem nce ntxiv nrog rau txoj hauv kev no). Muaj ntau ntau lwm txoj hauv kev ntawm ob qhov kawg no.
Dab tsi yog qhov txawv ntawm Kernel thiab Operating System?
Kernel yog qhov tseem ceeb (lossis qib qis tshaj) ntawm kev ua haujlwm. Tag nrho lwm qhov chaw uas ua rau lub operating system (graphical user interface, tswj cov ntaub ntawv, plhaub, thiab lwm yam) cia siab rau lub kernel. Kernel yog lub luag haujlwm rau kev sib txuas lus nrog cov cuab yeej kho vajtse, thiab nws yog ib feem ntawm kev khiav hauj lwm uas hais ncaj qha nrog cov khoom siv. Ntau lub sijhawm hu tuaj yeem siv tau rau kev nkag mus rau cov ntaub ntawv, nthuav tawm cov duab, tau txais cov keyboard / nas nkag yog muab los ntawm cov ntsiav kom siv los ntawm lwm cov software.