title
stringlengths 1
544
โ | parent
stringlengths 0
57
โ | created
stringlengths 11
12
โ | editor
stringclasses 1
value | creator
stringclasses 4
values | edited
stringlengths 11
12
โ | refs
stringlengths 0
536
โ | text
stringlengths 1
26k
| id
stringlengths 32
32
|
---|---|---|---|---|---|---|---|---|
dual booting
|
OS Mode
| null | null | null | null | null |
1. bitlocker locker ์๋๊ณ ํ๋ฉด encrypted ๋๋ค
- read linux partitoin
- disk internals linux reader
> [Paragon Software | Main page](https://www.paragon-drivers.com/en/lfswin/#overview)
|
24656ee018014e6388b841b9f579c30c
|
System call
|
OS Mode
| null | null | null | null | null |
# fork()
child return 0
parent returns child's pid
# exec()
make, new โ has own main
command(shell) executer
# wait()
to synchronize wait child pid
ex. wait(&s) - s go to exit
after wait โ termination status(child)
# exit()
exit โ exit status
|
f36194e943f3498593520460b36c55aa
|
Critical Section
|
Process Notion
|
Apr 21, 2021
|
Alan Jo
|
Alan Jo
|
Aug 10, 2023
|
์ํธ๋ฐฐ์ , ์งํ, ํ์ ๋ ๋๊ธฐ๋ฅผ ์ถฉ์กฑ
|
8469b236528b41efb4088ea3a69a4cc4
|
|
IPC
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Aug 10, 2023
|
inter process communication
Done by kernel (client server model)
# basic IPC
pipe, named pipe(fifoi)
# Advanced IPC
massage pussing, semaphore(ipc facilities), shared mem = low levle
socket (bsd) oriented
###
# internet IPC
socket api by packet
### udp - letter - criented
### tcp - phone call - connection oriented
|
98010a1077fd45968ce78ae98505b2e5
|
|
massage passing
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Aug 10, 2023
|
ab22575af94b441caad37d2e1697cd59
|
||
Monitor Sync
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Aug 10, 2023
|
Synchronize by using Mutex and Thread-safe **Condition Variables(Queue)**
more simpler than Semaphore, because monitor Condition variable do lock and unlock. but Semaphore is done by in its process
> ๋ฐฐํ๋๊ธฐ, ์กฐ๊ฑด๋๊ธฐ๋ฅผ ์ํ ํ๊ฐ ๊ฐ๊ฐ ์กด์ฌ
>
> 
>
>
|
54b03a3282964bdb88207ec60dfeb1b2
|
|
Mutex
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Aug 10, 2023
|
mutex is type variable and has function lock and unlock
lock(mutex), unlock(mutex)
|
cbfff707d2fe484ea20344f1104b7141
|
|
Process context
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Dec 3, 2022
|
- program context
- kernel context
|
e76d70c66cd840b4a247de3310e85416
|
|
Process control block
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Dec 3, 2022
|
PCB
- data registers
- PC,SP registers
- context
|
f62e2db348e442c580ea6d2084973973
|
|
Process descriptor
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Dec 3, 2022
|
PD
- (p)ids, virtual memory structure
|
81614898a94d48058419b80e9e971fae
|
|
Process Exit
|
Process Notion
|
May 19, 2023
|
Alan Jo
|
Alan Jo
|
May 19, 2023
|
### Process Exit Code
- 137 - Memory Issue
- 127 - Command not found
|
2d82b561fba64541bde82c478297a22c
|
|
Process Function Call
|
Process Notion
|
Dec 3, 2022
|
Alan Jo
|
Alan Jo
|
Dec 3, 2022
|
[Process Memory](https://texonom.com/process-memory-53285d27582d49058052939d739e8623)
|
Process Function Call Management
### Process Function Call Notion
|Title|
|:-:|
|[Base Pointer](https://texonom.com/base-pointer-b2e339920fc947749be4e37d6ef87898)|
|[Stack pointer](https://texonom.com/stack-pointer-3cba595dc071434eb2c9cf27dad65f57)|
|[Activation Record](https://texonom.com/activation-record-9984197a3a144f878d427d71d6052a10)|
|[Calling Sequence](https://texonom.com/calling-sequence-aeb9d35a8a714f048530391482503ccd)|
|
ab41c2af3a5743599fca591ce08b535f
|
Process image
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Dec 3, 2022
|
- contains kernel space
- code - low address
- data
- stack
- heap - high address
|
c6384d00d1af41a6bcaa1b238165be17
|
|
Process Memory
|
Process Notion
|
Dec 3, 2022
|
Alan Jo
|
Alan Jo
|
Dec 3, 2022
|
### Process Memory Notion
|Title|
|:-:|
|[Stack Memory](https://texonom.com/stack-memory-70115a2851da415ca2aa913c7c5d3195)|
|[Heap Memory](https://texonom.com/heap-memory-30304a87b33848bd97600adaaddbbfff)|
|[Memory Model](https://texonom.com/memory-model-8d30211d5095420c82620b3b91be155f)|
|
53285d27582d49058052939d739e8623
|
|
Process State
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Dec 3, 2022
|
### PSM(process state modeling)
blocked queue
> single blocked queue
> multiple blocked queues (queue to event)
>
io bound system - CPU ์ ๋ฌผ๋ ค์์
cpu bound system - io ์ ๋ฌผ๋ ค์์
|
bbe0f9abe7b240c7a1d2a2d1c3478afd
|
|
Process switching
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Dec 3, 2022
|
โ mode(user) swithing - save process state only
process swithing - save context(context switch), PCB(control block) โ to appropriate queue
update state of process โ update mm structure
|
7f2486a6184241fba896860610a4d5f1
|
|
Process Sync
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Aug 10, 2023
|
smart person learn knowledge by network data structure but gard to use and administratenormal person learn knowldedge by tree data structure, so cannot imagine creative thinking which connect far distance in tree but close distance in network
**so i need to make network document site myself**
> critical section: where racing can be ocuurred
## issues
Mutual Exclusion (์ํธ๋ฐฐ์ ): no two process execution in critical section
Progress: no indefinite postpone while selection of process enter to critical section
Bounded Waiting: no starvation
# Solution
### 1. Locks
- spinlocks
- disabling inturrupts
> for two-process case code
### Spinlock (software-only)
1. turn onlyping-pong like one-to-one problem
2. flag onlysymultaniously raising flag problem
3. **Peterson's algorithm**use flag and turn variable
> ```typerepeat flag[i] := true; turn := j; while (flag[j] and turn = j) //cation to and //busy waiting = spinning critical section flag[i] := false; //else code until false;```
### spinlock (hardware atomic)
by hardware support atomic operation
> atomic operation: cannot be disturbed
### disabling interrupts
prevent context switches
**acquire()/lock()**: before critical section**release()/unlock()**: after critical section
# Differences
> ### Semaphore
> Semaphore prevent multi-process access to data which are File type integer counter
> Semaphore - unlock by other
> supervise many resources
> 
>
> ### Mutex
> Mutex(mutual exclusion) is object(variable) in process that prevent multi-thread access to data - use locking and unlocking
> Mutex - self unlock
> mutex is for two process - semaphore is for multi process use critical section
> supervise only one resource
> 
> All Mutex is Semaphore, Semaphore can be mutex, not all mutexes are Semaphore
|
45211a317f4f442cbab6b374fdaed630
|
|
Semaphore
|
Process Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Aug 10, 2023
|
### Integer counter (File) variable S - cannot solve all dead lock
- default value is resources number
### P function(try / decrement) - before critical section - wait(S)
### V function(increment) - after critical section -signal(S)
two function should satisfy atomicity - other process cannot change while this function
> 0 : block
> ## Method 1
> ```typeP(S) { // do nothing - busy waiting while S <=0; S--; } V(S) { S++; }```
> ## Method 2
> ```typeP(S) { S--; if S < 0 // sleep this process } V(S) { S++; if S <= 0 // remove from sleep queue```
- semval : ์ธ๋งํฌ์ด์ ๊ฐ์ผ๋ก์ ํญ์ ์์๊ฐ ์ง์ ๋๋ค. ์ฌ๊ธฐ์ ๊ฐ์ ์๋ก ์ง์ ํ๋ ค๋ฉด ๋ฐ๋์ ์ธ๋งํฌ์ด ์์คํ
ํธ์ถ์ย ํตํด์ผํ๋ฉฐ ํ๋ก๊ทธ๋จ์์ ์ผ๋ฐ ์๋ฃํ์ ๋ณ์์ ๊ฐ์ด ์ง์ ์ ๊ทผ ํ ์๋ ์๋ค.
- sempid : ์ธ๋งํฌ์ด์ ์ ๊ทผํ๋ ์ต๊ทผ์ ํ๋ก์ธ์ค์ ํ๋ก์ธ์ค ์๋ณ๋ฒํธ์ด๋ค.
- semncnt : ์ธ๋งํฌ์ด์ ๊ฐ์ด ํ์ฌ๋ณด๋ค ์ฆ๊ฐํ๊ธฐ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ํ๋ก์ธ์ค์ ๊ฐฏ์.
- semzcnt : ์ธ๋งํฌ์ด์ ๊ฐ์ด 0์ผ๋ก ๋๊ธฐ๊น์ง ๊ธฐ๋ค๋ฆฌ๋ ํ๋ก์ธ์ค์ ๊ฐฏ์
>
>
|
46b11416972249d2a40e6c3e5060304a
|
|
Activation Record
|
Process Function Call Notion
|
Dec 3, 2022
|
Alan Jo
|
Alan Jo
|
Dec 3, 2022
|
9984197a3a144f878d427d71d6052a10
|
||
Base Pointer
|
Process Function Call Notion
|
Dec 3, 2022
|
Alan Jo
|
Alan Jo
|
Dec 3, 2022
|
b2e339920fc947749be4e37d6ef87898
|
||
Calling Sequence
|
Process Function Call Notion
|
Dec 3, 2022
|
Alan Jo
|
Alan Jo
|
Dec 3, 2022
|
aeb9d35a8a714f048530391482503ccd
|
||
Stack pointer
|
Process Function Call Notion
|
Dec 3, 2022
|
Alan Jo
|
Alan Jo
|
Dec 3, 2022
|
3cba595dc071434eb2c9cf27dad65f57
|
||
Heap Memory
|
Process Memory Notion
|
Oct 29, 2020
|
Alan Jo
|
Alan Jo
|
Dec 3, 2022
|
๋ฉ๋ชจ๋ฆฌ ํ ๋น์ด ์ด๋ฃจ์ด์ง๋ ๊ณณ์ผ๋ก ์ ์ธํ ๋ณ์์ ํจ์๋ค
๋์ ๋ฉ๋ชจ๋ฆฌ ํ ๋น์ ์ฌ์ฉ
ํฌ์ธํฐ๋ฅผ ์ฌ์ฉํ์ฌ ๋ฐ์ดํฐ ์์น๋ฅผ ์ ์ฅ
์คํ๊ณผ ๋น๊ตํ์ฌ ๋ฐ์ดํฐ๋ฅผ ์ฒ๋ฆฌํ๊ณ ์ ๊ทผํ๋ ์๋๋ ๋๋ฆฌ์ง๋ง, ๋ ํฐ ์ฉ๋์ ๋ฐ์ดํฐ๋ฅผ ์ ์ฅ
์ปดํ์ผํ์์ ๋ฉ๋ชจ๋ฆฌ ์ฌ์ด์ฆ๋ฅผ ์ ํํ ์์ธกํ ์ ์๋ค
ํ ๋ฉ๋ชจ๋ฆฌ๋ ์ฐ๋ ๋๊ฐ ๊ณต์
ํ์ ์ ์ฅ๋๋ ๋ฐ์ดํฐ ์ข
๋ฅ๋ก๋ ์ ์ญ ๋ณ์ (global variables), ์ฐธ์กฐ ํ์
(reference types)
ํ ๋น๋ ํ ๊ณต๊ฐ์ ์ด๊ณผํ๋ ๋ฉ๋ชจ๋ฆฌ๋ฅผ ์ฌ์ฉํ๋ ค๊ณ ํ๋ฉด OutOfMemory ์๋ฌ๊ฐ ๋ฐ์
ํ๋ก๊ทธ๋จ์ด ๋ฉ๋ชจ๋ฆฌ๋ฅผ ๋ ์ด์ ์ฌ์ฉํ์ง ์์ ์์๋ ํด๋น ๋ฉ๋ชจ๋ฆฌ๋ฅผ ํด์ (free)ํด์ฃผ์ด์ผ
> [์๋ฐ์คํฌ๋ฆฝํธ์ V8 ์์ง์ ๋ฉ๋ชจ๋ฆฌ ๊ด๋ฆฌ ํ๋ก์ธ์ค](https://medium.com/naver-place-dev/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EC%99%80-v8-%EC%97%94%EC%A7%84%EC%9D%98-%EB%A9%94%EB%AA%A8%EB%A6%AC-%EA%B4%80%EB%A6%AC-%ED%94%84%EB%A1%9C%EC%84%B8%EC%8A%A4-f45091e696e1)
|
30304a87b33848bd97600adaaddbbfff
|
|
Memory Model
|
Process Memory Notion
|
Dec 3, 2022
|
Alan Jo
|
Alan Jo
|
Dec 3, 2022
|
8d30211d5095420c82620b3b91be155f
|
||
Stack Memory
|
Process Memory Notion
|
Oct 29, 2020
|
Alan Jo
|
Alan Jo
|
Dec 3, 2022
|
[Process](https://texonom.com/process-ffd68f9e2b2648759b96047d48d17778)
|
### ํ๋ก๊ทธ๋จ์ ์ด๋์ ์๋์ง๋ฅผ ๊ธฐ๋กํ๋ ์๋ฃ ๊ตฌ์กฐ
์ฝ์คํ์ ๊ฐ๊ฐ์ ์คํํ๋ ์(Stack Frame)
๋ฐ์ดํฐ์ ํฌ๊ธฐ๊ฐ ์ ํ(finite)์ ์ (static)
๋ฐ์ดํฐ์ ํฌ๊ธฐ๊ฐ ์ปดํ์ผํ์์ ๊ณ์ฐ
ํจ์์ ํธ์ถ ์ ๋ณด ๋ํ ์คํ ํ๋ ์์ผ๋ก ์ ์ฅ
๊ฐ ํ๋ ์์ ํจ์๋ฅผ ํธ์ถ์ ํ์๋กํ๋ ๋ฐ์ดํฐ๋ฅผ ์ ์ฅํ ํ ๋ธ๋ก์ ๊ณต๊ฐ์ ์๋ฏธ
ํด๋น ํจ์๊ฐ ์ ๋ณ์๋ฅผ ์์ฑํ๋ฉด, ๊ทธ ๋ฐ์ดํฐ๋ ์คํ ๋งจ ์์ ๋ธ๋ก์ ์ ์ฅ
ํจ์ ํธ์ถ์ด ์ข
๋ฃ๋๋ฉด ์คํ ๋งจ ์ ๋ธ๋ก์ด ์ ๊ฑฐ
๋ฉํฐ ์ค๋ ๋ฉ์ด ๊ฐ๋ฅํ ์ดํ๋ฆฌ์ผ์ด์
์ ์ค๋ ๋ ์ ๋งํผ ์คํ์ ์ฌ๋ฌ๊ฐ
์ผ๋ฐ์ ์ผ๋ก ์คํ์ ์ ์ฅ๋๋ ๋ฐ์ดํฐ ์ข
๋ฅ๋ก๋ ์ง์ญ๋ณ์(local variables), ํฌ์ธํฐ, ํจ์ ํ๋ ์
์คํ์ ์ ์ฅ๋ ์ ์๋ ๋ฐ์ดํฐ์ ์ฌ์ด์ฆ์ ์ํ์ด ์์ผ๋ฉฐ, ์คํ์ ์ฌ์ด์ฆ๋ฅผ ์ด๊ณผํ๋ ๊ฒฝ์ฐ์ StackOverflowError ๊ฐ ๋ฐ์
[Call Stack](https://texonom.com/call-stack-f041634136c74474bafad41496dff953)
[Blowing the stack](https://texonom.com/blowing-the-stack-e20d822b114e4b17add6e5bff28e4a71)
[Stack Trace](https://texonom.com/stack-trace-26fd9fe6f37242818d81284ff135c73d)
> [์๋ฐ์คํฌ๋ฆฝํธ์ V8 ์์ง์ ๋ฉ๋ชจ๋ฆฌ ๊ด๋ฆฌ ํ๋ก์ธ์ค](https://medium.com/naver-place-dev/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EC%99%80-v8-%EC%97%94%EC%A7%84%EC%9D%98-%EB%A9%94%EB%AA%A8%EB%A6%AC-%EA%B4%80%EB%A6%AC-%ED%94%84%EB%A1%9C%EC%84%B8%EC%8A%A4-f45091e696e1)
[Heap Memory](https://texonom.com/heap-memory-30304a87b33848bd97600adaaddbbfff)
|
70115a2851da415ca2aa913c7c5d3195
|
Blowing the stack
|
Stack Memory
| null | null | null | null | null |
์ฝ ์คํ์ ์ต๋ ํฌ๊ธฐ์ ๋ค๋ค๋์ ๋
|
e20d822b114e4b17add6e5bff28e4a71
|
Call Stack
|
Stack Memory
| null | null | null | null | null |
์ค์ ์คํ๋๋ ์ฝ๋๋ฅผ ์์๋๋ก ์คํํ๋ ๊ณณ
|
f041634136c74474bafad41496dff953
|
Stack Trace
|
Stack Memory
| null | null | null | null | null |
### ์์ธ๊ฐ ๋ฐ์ํ์ ๋ ์ฝ์คํ์ ์ํ
|
26fd9fe6f37242818d81284ff135c73d
|
**`Device Queue`**
|
Processor Queues
|
May 19, 2021
|
Alan Jo
|
Alan Jo
|
May 19, 2021
|
- I/O device์ ์ฒ๋ฆฌ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ํ๋ก์ธ์ค์ ์งํฉ
|
453d40088668423c96d51003b27f9a2e
|
|
**`Job Queue`**ย
|
Processor Queues
|
May 19, 2021
|
Alan Jo
|
Alan Jo
|
May 19, 2021
|
- ํ์ฌ ์์คํ
๋ด์ ์๋ ๋ชจ๋ ํ๋ก์ธ์ค์ ์งํฉ
|
92bccac0db114b5c83a0f3ac0d9de17e
|
|
**`Ready Queue`**
|
Processor Queues
|
May 19, 2021
|
Alan Jo
|
Alan Jo
|
May 19, 2021
|
- ํ์ฌ ๋ฉ๋ชจ๋ฆฌ ๋ด์ ์์ผ๋ฉด์ CPU๋ฅผ ์ก์์ ์คํ๋๊ธฐ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ํ๋ก์ธ์ค์ ์งํฉ
|
c8546adf7d604a73a15b292808bef5b7
|
|
Processor Dispatcher
|
Processor Scheduler Notion
|
May 19, 2021
|
Alan Jo
|
Alan Jo
|
May 19, 2021
|
CPU ์ค์ผ์ค๋ฌ ๋ด๋ถ์ ํฌํจ๋ ๊ฒ
CPU์ ์ ์ด๊ถ์ CPU Scheduler์ ์ํด ์ ํ๋ ํ๋ก์ธ์ค์๊ฒ ๋๊ธด๋ค
๋จ๊ธฐ ์ค์ผ์ค๋ฌ๊ฐ ์ ํํ ํ๋ก์ธ์ค์ ์ค์ง์ ์ผ๋ก ํ๋ก์ธ์๋ฅผ ํ ๋นํ๋ ์ญํ
ํ๋ก์ธ์ค์ ๋ ์ง์คํฐ๋ฅผ ์ ์ฌํ๊ณ Context Switching, Kernel Mode์์ User Mode๋ก ์ ํ์์ผ์ฃผ๋ฉฐ ํ๋ก์ธ์ค๊ฐ ๋ค์ ์์ํ ๋ ์ฌ์ฉ์ ํ๋ก๊ทธ๋จ์ด ์ฌ๋ฐ๋ฅธ ์์น๋ฅผ ์ฐพ์ ์ ์๋๋ก
latency - to take dispatch overhead
> [[O/S] CPU Scheduler์ Dispatcher](https://velog.io/@ss-won/OS-CPU-Scheduler%EC%99%80-Dispatcher)
|
dac6ca05f13c4ddc82906bd73f6080df
|
|
Long-term scheduler
|
Processor Schedulers
|
May 19, 2021
|
Alan Jo
|
Alan Jo
|
May 19, 2021
|
job scheduler
|
5f0783472fa94c478b10b7a1bfbf0192
|
|
Medium-term scheduler
|
Processor Schedulers
|
May 19, 2021
|
Alan Jo
|
Alan Jo
|
May 19, 2021
|
Swapper
|
15b70c90c2f641e696fcc6c90cbd04d9
|
|
Short-term scheduler
|
Processor Schedulers
|
May 19, 2021
|
Alan Jo
|
Alan Jo
|
May 19, 2021
|
CPU scheduler
|
f95f24cbd78d490c8a216dcabb04e4cb
|
|
CAS
|
Blocking
| null | null | null | null | null |
### compare-and-swap
|
b3541e0665b74cf7aa4f91a7b202fde2
|
Deadlock
|
Thread Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
Apr 3, 2023
|
# To-do
- [ ] update last recovery part
Deadlock problem -** A set **of blocked processes each holding a resource and waiting to acquire a resource held by another process in the set
> - Has a set of processes
> - Has a set of resources
> - deadlocks can occur across machines (between I/O processes)
> Paradigm of resource usage by process โ
> 
> ex. - semaphores A and B, initialized to 1
> - P1 and P2 each hold one tape drive and each needs another one
> 
> Deadlock problem is important in special purpose OS
# Bridge Crossing
> - it can be resolved if one car backs up - preempt resources and rollback
> - Several cars may have to be backed up(kill process) if a deadlock occurs
> - Starvation is possible
> 
> Kill process need restart process - Why?
# Resource Allocation Graph
> $$G = (V, E).$$
> Model tuple of the state of a computer system as a directed graph
> **Request edge** : process to resource (not to special one resource set itself)
> **Allocation edge **: resource to process
>
> 
> ## Theorem 1
> **If a graph does not contain a cycle then no processes are deadlocked**
> ## Theorem 2
> **If there is only a โsingleโ instance per resource type, then a set of processes are deadlocked if and only if the processes and resources form a cycle in the resource allocation graph**
## โNecessaryโ Conditions for a Deadlock
**Deadlock can arise if the following four conditions hold simultaneously - at the same time**
1. **Mutual exclusion** : only one process at a timfe can use a resource.
2. **Hold and wait** : a process holding at least one resource is waiting to acquire additional resources held by other processes.
3. **No preemption **: a resource can be released only voluntarily by the process holding it.
4. **Circular wait : **a cycle in the resource allocation graph
### So we will not make this conditions simultaneously by Handling Deadlocks
> theorem 2 is only enable sufficient condition
## Method 1: Deadlock Prevention
**Ensure that one of the four deadlock conditions never occur โ make one false among 4 (not about information, policy and data structure change)**
<details><summary>
1 โ make shareable share</summary>
make mutual exclusive available resources to not exclusively is impossible โ Must hold for non-shareable resources
</details>
<details><summary>
2 โ **No wait or No hold **(resources utilization become low, starvation possible)</summary>
Guarantee that whenever a process requests a resource, it does not hold any other resources
Require process to request and be allocated โallโ its resources before it begins execution, or allow process to request resources only when the process has โnoneโ.
</details>
<details><summary>
3 โ become preemptive (stop while processing)</summary>
If a process that is holding some resources requests another resource that cannot be immediately allocated to it, then all resources currently being held are released
Preempted resources are added to the list of available resources
Process will be restarted only when it can regain its old resources, as well as the new ones that it is requesting
Can be applied to resources whose state can be easily saved and restored later : e.g. CPU registers, memory, โฆ
</details>
<details><summary>
4 โ remove cycle (if no resources can be substituted โ Theorem 2) **most used method**</summary>
Impose a total **ordering of all resource types**, and require that each process **requests resources in order **of enumeration
</details>
## Method 2: Deadlock Avoidance
**Avoid deadlock by run-time checking and allocation of resources - check before allocate (never enter an unsafe state)**
<details><summary>
**Requires** that the system has some additional a **priori information **and **algorithm**</summary>
Simplest and most useful model requires that each process declare the** maximum number of resources** of each type that it may need
**The deadlock-avoidance algorithm dynamically examines the โresource-allocation stateโ to ensure that there can never be a circular-wait condition**
</details>
- **Safe State** : System is in safe state if there exists a **safe sequence** of all processes
**requests resource โ decide immediate allocation leaves the system in a โsafeโ state**
> **Resource-allocation state **is defined by the number of available and allocated resources, and the maximum demands of the processes
### Then How can we do that by what algorithm?
if resource is single instance โ use resource allocation graph and check cycle
> **if resource is multiple instance โ**
>
> [Banker's algorithm](https://texonom.com/bankers-algorithm-a3e9530ac45b4c61806354379b55c593)
>
## Method 3: Deadlock Detection and Recovery
**Let the system deadlock and then deal with it (No a priori information, algorithm exist)**
### **Detection Algorithm**
Request: an n x m matrix indicates the current request of each process (Replace Need with Request matrix) - it is safety algorithm in banker's algorithm
> usually each process is not assumed to have knowledge in its maximum use
**Then how often we will invoke algorithm - have no answer**
## Recovery from Deadlock
<details><summary>
**Methods of recovery**</summary>
</details>
5. Process terminate - lose all process, not easy to recover process done
6. resource preemption
> - Selecting a victim, rollback, starvation is an issue
> 
> **if resource is multiple instance โ D**etection algorithm like banker's algorithm
> caution of starvation โ aging
> need to kill cause process โ re-deadlock
> Rollback - ์ต์ํ ์ธ์ดํด์ด ์์ด์ง ๋งํผ์ ํ๋ก์ธ์ค๋ ์ฃฝ์ฌ์ผ ํ๋ค.
> wait for ๊ทธ๋ํ๋ ์ด๋ค ํ๋ก์ธ์ค๊ฐ ์ด๋ค ๋ฆฌ์์ค๋ฅผ waitํ๊ณ ์๋๊ฐ๋ง ์ฒดํฌํ๋ค. ์ธ์ดํด์ด ๋ฐ์ํ์ผ๋ฉด ๋ฐ๋๋ฝ์ด ๋ฐ์ ํ ๊ฒ์ด๋ค.
> if resource is single instance โ check wait-for graph ์ฃผ๊น๊ฑฐ
### Method 4: No policy
Ignore the problem and pretend that deadlocks never occur in the system โ just reboot
Used by most operating systems, including UNIX and Windows โ too much overhead
# Reference
- Refer Lock hierarchy
> [DeadLock](https://ozt88.tistory.com/35)
|
8c118f296cc1477aac5c59c75cec8235
|
|
kernel level thead
|
Thread Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
May 11, 2021
|
498f95b4e748492b8e2ed535bf987b0b
|
||
Lock convoy
|
Thread Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
May 11, 2021
|
Lock์ ์์ ํ๊ธธ ๊ธฐ๋ค๋ฆฌ๋ ๋น์จ์ด Lock์ ํด์ ํ๋ ๋น์จ๋ณด๋ค ๋์ ๊ฒ
Lock Convoy๊ฐ ๋ฐ์ํ๊ฒ ๋๋ฉด ์์คํ
์ ์ฑ๋ฅ์ด ๊ธ๊ฒฉํ๊ฒ ๋จ์ด์ง๊ฒ
|
a904af475dcb4bb8a0d99ea8e095de39
|
|
Priority Inversion
|
Thread Notion
|
Mar 28, 2021
|
Alan Jo
|
Alan Jo
|
May 11, 2021
|
์๋์ฐ ์ด์์ฒด์ ์์ Thread์๋ ํญ์ ์ฐ์ ์์๋ผ๋ ๊ฒ์ด ์๊ณ , ์๋์ฐ ์ด์์ฒด์ ๋ ํญ์ ์ฐ์ ์์๊ฐ ๋์ Thread๋ง ์คํ์ํค๋ ์ค์ผ์ค๋ง ์ ์ฑ
์ ์ฌ์ฉ
์ฌ๋ฌ๊ฐ์ ์ฐ์ ์์๊ฐ lock ๊ณผ ์ฎ์ด์ ๋ฐ์ํ๋ ์ฑ๋ฅ์ ํ
|
beb6115d6154481db836a5677f877581
|
|
Thread Safe
|
Thread Notion
|
May 11, 2021
|
Alan Jo
|
Alan Jo
|
May 11, 2021
|
a6b8ab6ec6e146deafa86b428e5ecfbe
|
||
Threads model
|
Thread Notion
|
Mar 28, 2021
|
Alan Jo
|
Alan Jo
|
May 11, 2021
|
- one to one
- n to n
|
800491618af24626b02f701d43578b66
|
|
Threads Scheduling
|
Thread Notion
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
May 11, 2021
|
Local Scheduling
Global Scheduling
|
e1315fdaa06740c6ab54f097edeba1d7
|
|
Two-Step Dance
|
Thread Notion
|
Mar 28, 2021
|
Alan Jo
|
Alan Jo
|
May 11, 2021
|
๋ถํ์ํ Context Switch๋ฅผ ๋ฐ์
|
b328c6d4bef8483a97e076bbc91b0be8
|
|
Banker's algorithm
|
Deadlock
| null | null | null | null | null |
### It is Deadlock Avoidance itself
**Define a set of vectors and matrices that characterize the current state of all resources and processes**
> Each process must a priori claim maximum use
# DataStructure
- n - process number, m resource **type **number.
- **Available**ย : one dimension array of length m - store available resources number by resource **type**
- **Max**ย (require to retire process): two dimension array of m x n - process i require j type and express it by max[i,j]
- **Allocation**ย : two dimension array of m x n - how much allocated - allocation[i,j]
- **Need**ย : two dimension array of m x n - **(Need = Max - Allocation) how much more need**
### Banker's algorithm is function of input **Request**
Request_i : one dimension array of length m - request vector for process Pi

# Safety Algorithm
**Work(copy of Available) **and **Finish(initialized false for all process) **be vectors of length m and n, respectively โ fine sequence of execution
### Result is no โ process must wait
## Difference
All tow algorithm is Deterministic Algorithm but Banker's is determine for Allocation
Detection is determine of checking deadlock
- Banker's Algorithm is virtual verification of unassigned resource by simulation
- Detection Algorithm is check stage is safe or not
|
a3e9530ac45b4c61806354379b55c593
|
user level thread
|
Thread Types
|
Nov 5, 2019
|
Alan Jo
|
Seong-lae Cho
|
May 11, 2021
|
6f68e5d2dff240359b9b494534598b29
|
||
Processor Scheduling Algorithm
|
Processor Scheduling Usages
|
May 19, 2021
|
Alan Jo
|
Alan Jo
|
Feb 21, 2023
|
### Processor Scheduling Algorithms
|Title|
|:-:|
|[FCFS](https://texonom.com/fcfs-edf5b1ac74e8471fa9e35f31239295ba)|
|[SJF](https://texonom.com/sjf-0cf78004bc7848a69e2f1aa607a20e02)|
|[Round Robin](https://texonom.com/round-robin-45c43acd37de47f88881d01d9e3eb925)|
|[Multilevel Queue](https://texonom.com/multilevel-queue-123add4d32274321a8643d4e927b52cc)|
|[Multilevel Feedback Queue](https://texonom.com/multilevel-feedback-queue-ee4381e712ad4f869e3523655e84bd16)|
|
305e26d3aca84cdd9e5c980e91642a8f
|
|
Processor Scheduling Evaluation
|
Processor Scheduling Usages
|
May 19, 2021
|
Alan Jo
|
Alan Jo
|
Feb 21, 2023
|
Queueing Model
Implementation & Measurement
Simulation
> [[OS] 5-2. CPU Scheduling II](https://asfirstalways.tistory.com/124)
|
b897d00ffba948e6922c062d95693455
|
|
Processor Scheduling Method
|
Processor Scheduling Usages
|
May 19, 2021
|
Alan Jo
|
Alan Jo
|
Feb 21, 2023
|
### Processor Scheduling Methods
|Title|
|:-:|
|[Multi Processor Scheduling](https://texonom.com/multi-processor-scheduling-7e3b60b954004bb098a7c70ee46677ad)|
|[Homogeneous Processor Scheduling](https://texonom.com/homogeneous-processor-scheduling-b643b19e38da4a5a920fd860364fa082)|
|[Load Sharing](https://texonom.com/load-sharing-6bb863d9c38f4e628781db57c1345107)|
|[Symmetric Multi Processor](https://texonom.com/symmetric-multi-processor-b3d5801f4b80479bb71fdb7f737d0255)|
|[Asymmetric Multi Processor](https://texonom.com/asymmetric-multi-processor-0e36cbc355d54549887b513bfb752d8d)|
|[Real time Sharing](https://texonom.com/real-time-sharing-2a9baa85c15947b5a8032f20a51590d1)|
|
c5c243a128b74b2183508330aec1090c
|
|
FCFS
|
Processor Scheduling Algorithms
|
Mar 28, 2021
| null | null | null |
[Convoy Effect](https://texonom.com/convoy-effect-bb94c5b2e41647328547674819b2d5db)
|
edf5b1ac74e8471fa9e35f31239295ba
|
|
Multilevel Feedback Queue
|
Processor Scheduling Algorithms
|
Mar 28, 2021
| null | null | null |
ee4381e712ad4f869e3523655e84bd16
|
||
Multilevel Queue
|
Processor Scheduling Algorithms
|
Mar 28, 2021
| null | null | null |
123add4d32274321a8643d4e927b52cc
|
||
Round Robin
|
Processor Scheduling Algorithms
|
Mar 28, 2021
| null | null | null |
๊ฝค ํ๋์ ์ธ ๋ฐฉ์
๋์ผํ ํฌ๊ธฐ์ ํ ๋น์๊ฐ
time quantum์ tradeoff๋ฅผ ์ํด์ผ
|
45c43acd37de47f88881d01d9e3eb925
|
|
SJF
|
Processor Scheduling Algorithms
|
Mar 28, 2021
| null | null | null |
Starvation ๋ฐ์
|
0cf78004bc7848a69e2f1aa607a20e02
|
|
Convoy Effect
|
FCFS
| null | null | null | null | null |
์์์๊ฐ ๊ธด ํ๋ก์ธ์ค๊ฐ ๋จผ์ ์๊ฐ ๋ค ์๋ชจ
|
bb94c5b2e41647328547674819b2d5db
|
Asymmetric Multi Processor
|
Processor Scheduling Methods
|
Mar 28, 2021
| null | null | null |
0e36cbc355d54549887b513bfb752d8d
|
||
Homogeneous Processor Scheduling
|
Processor Scheduling Methods
|
Mar 28, 2021
| null | null | null |
b643b19e38da4a5a920fd860364fa082
|
||
Load Sharing
|
Processor Scheduling Methods
|
Mar 28, 2021
| null | null | null |
6bb863d9c38f4e628781db57c1345107
|
||
Multi Processor Scheduling
|
Processor Scheduling Methods
|
Mar 28, 2021
| null | null | null |
7e3b60b954004bb098a7c70ee46677ad
|
||
Real time Sharing
|
Processor Scheduling Methods
|
Mar 28, 2021
| null | null | null |
[hard real time system](https://texonom.com/hard-real-time-system-addff3ce5ba24ef2bd993d0e016f6db7)
[soft real time system](https://texonom.com/soft-real-time-system-c653ddd54a304bc0badef7aa5b33782d)
|
2a9baa85c15947b5a8032f20a51590d1
|
|
Symmetric Multi Processor
|
Processor Scheduling Methods
|
Mar 28, 2021
| null | null | null |
b3d5801f4b80479bb71fdb7f737d0255
|
||
hard real time system
|
Real time Sharing
| null | null | null | null | null |
addff3ce5ba24ef2bd993d0e016f6db7
|
|
soft real time system
|
Real time Sharing
| null | null | null | null | null |
c653ddd54a304bc0badef7aa5b33782d
|
|
Punch Card
|
OS History
| null | null | null | null | null |
- ํฌํธ๋์ ์ด๊ธฐ์ ํ์น์นด๋๋ก ์์ฑํ์๊ธฐ ๋๋ฌธ์ FORTRAN 77 ๊น์ง๋ง ํด๋ ํ๋ก๊ทธ๋จ์ ์์ฑํ ๋ ์์ 6 ์ปฌ๋ผ์ ๋์ฐ์ง ์์ผ๋ฉด ์ค๋ฅ๊ฐ ๋ฐ์
- ํ์น์นด๋๋ 80 ์ปฌ๋ผ์ ๊ฐ์ง๊ณ ์๋๋ฐ ์ด๊ฒ์ ์์ฆ์๋ ์ฝ๋์์ฑ ๊ท์น์ ์ฌ์ฉ
- ํ์น์นด๋๋ ํ๋ก๊ทธ๋จ ์์๋๋ก ์ ๋ฆฌ๋์ด ์๋ ๊ฒ์ด๊ธฐ ๋๋ฌธ์ ๋ง์ฝ์ ๋ค๊ณ ๊ฐ๋ค๊ฐ ๋จ์ด๋จ๋ฆฌ๊ธฐ๋ผ๋ ํ๋ฉด ๋ค์ ์์๋๋ก ์ ๋ฆฌํด์ผ ํ์
> [Introduction](https://mug896.github.io/bash-shell/tty.html)
|
dcb71893cc074afb9ec6865b43eaaa61
|
GUI
|
OS Components
|
Sep 27, 2020
|
Alan Jo
|
Alan Jo
|
Apr 3, 2023
|
[CLI](https://texonom.com/cli-3b46069e77904f7b8ce85faff6252cfc)
|
## Graphic System
### Graphic System Notion
|Title|
|:-:|
|[Window System](https://texonom.com/window-system-2c3d5baf4f1647548307c2eead61d093)|
|[GUI Toolkit](https://texonom.com/gui-toolkit-cbc5815c18b743ea9c94df528097ff47)|
> [Graphical User Interface Gallery](http://toastytech.com/guis/index.html)
> [1. ๋ฆฌ๋
์ค ๊ทธ๋ํฝ ์์คํ
๊ณผ Wayland/Weston](https://prographics.tistory.com/2)
|
936270e7b4af43e3929f69fcb6e1e2e4
|
GUI Toolkit
|
Graphic System Notion
|
Dec 28, 2021
|
Alan Jo
|
Alan Jo
|
Mar 13, 2023
|
### GUI Toolkits
|Title|
|:-:|
|[GTK](https://texonom.com/gtk-eea634600ab54d4580c59a29261e1189)|
|[QT](https://texonom.com/qt-b9dda98c59cb4af792ca1603406e4fc8)|
|
cbc5815c18b743ea9c94df528097ff47
|
|
Window System
|
Graphic System Notion
|
Sep 27, 2020
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
### Window System Notion
|Title|
|:-:|
|[Display Server](https://texonom.com/display-server-01e7cd4e7a35425abebbe16c50e5b93f)|
|[Desktop Environment](https://texonom.com/desktop-environment-7a1bd7322f614338b3905a3370bf4d2f)|
|[Window Manager](https://texonom.com/window-manager-7f27fac502ea4471b9f9c377e49ec11e)|
|[Window System History](https://texonom.com/window-system-history-84f6c1586f1d49de855d5f315176e030)|
|[Window Controls Overlay](https://texonom.com/window-controls-overlay-e947399311d94fe59a014856df820f2f)|

์์๊ฐ์ด ๊ตฌ์ฑ๋ ์ปค๋์ด์์ ์ด์ ์ ์ผ๋ก ๋ถ๋ฅด๋ ๋ง ๋๋ Windows, Mac๊ณผ๊ฐ์ด ๊ตฌ์ฑ์ด ๊ฐ์ถฐ์ง
### Window Systems
|Title|
|:-:|
|[X window System](https://texonom.com/x-window-system-b037d52fa7fe4d33a21b16299817b92e)|
|[Desktop Window Manager](https://texonom.com/desktop-window-manager-efa76bde65954247a6a40caa469807e5)|
> [1. ๋ฆฌ๋
์ค ๊ทธ๋ํฝ ์์คํ
๊ณผ Wayland/Weston](https://prographics.tistory.com/2)
> [Windowing system - Wikipedia](https://en.wikipedia.org/wiki/Windowing_system#Display_server_communications_protocols)
|
2c3d5baf4f1647548307c2eead61d093
|
|
GTK
|
GUI Toolkits
|
Dec 28, 2021
|
Alan Jo
|
Alan Jo
|
Mar 13, 2023
|
## Gimp ToolKit
**GNU Image Manipulation Program**
|
eea634600ab54d4580c59a29261e1189
|
|
QT
|
GUI Toolkits
|
Dec 28, 2021
|
Alan Jo
|
Alan Jo
|
Mar 13, 2023
|
์์
์ฌ์ฉ์ ์ ๋ฃ
|
b9dda98c59cb4af792ca1603406e4fc8
|
|
Desktop Environment
|
Window System Notion
|
Dec 28, 2021
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
## Graphic Interface
### Toolkit based
### QT Desktop Environment
|Title|
|:-:|
|[KDE Plasma](https://texonom.com/kde-plasma-dfcb7fc088e746a7b1114b85ea230469)|
|[Deepin](https://texonom.com/deepin-77cccfda81604e54aabf2e266f18d406)|
|[lxqt](https://texonom.com/lxqt-2f255f136b124c38b927b8b706f1a707)|
|[Maui Shell](https://texonom.com/maui-shell-e38cb7e552b448d484c8a6909fa88b8c)|
### GTK Window Systems
|Title|
|:-:|
|[GNOME](https://texonom.com/gnome-f4f9012077c34e4dbc6357f5521ed9f2)|
|[mate](https://texonom.com/mate-e91f7ecd17d64cd2a02f82c26b5f97b1)|
|[xfce](https://texonom.com/xfce-c4015594465948aca9785d97550774ae)|
|[lxde](https://texonom.com/lxde-39d1343c6bc44acc983c99ba2c6377fb)|
|[Cinammon](https://texonom.com/cinammon-cea163f87afa4d6e8b1b1867a8112921)|
|
7a1bd7322f614338b3905a3370bf4d2f
|
|
Display Server
|
Window System Notion
|
Dec 28, 2021
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
## Window Compositor
๊ฐ๊ฐ์ ์๋์ฐ ํ๋ฉด์ ๊ฐฑ์ ํ๊ณ , ๊ฒน์ณ์ง ์๋์ฐ๋ค์ ํ๋์ ํ๋ฉด์ผ๋ก ๋ณด์ฌ์ฃผ๋ ๊ธฐ๋ฅ
### Display Servers
|Title|
|:-:|
|[Wenston](https://texonom.com/wenston-8c38ac264bec41f59eb1104934a18768)|
|[Xorg Server](https://texonom.com/xorg-server-4198e168f18347f4ad7b933f4b54a051)|
|[Quartz Compositor](https://texonom.com/quartz-compositor-fcbf4e0f615a4139b05f25c7b607b815)|
|[SurfaceFlinger](https://texonom.com/surfaceflinger-a40de1645ce543f3845dcfeadc7c4f4d)|
### Display Server Protocols
|Title|
|:-:|
|[Wayland](https://texonom.com/wayland-670af55e623a4d879e43f34ecc7b0af1)|
|[Quartz ](https://texonom.com/quartz-5871fb969408471e833d098f00f82cf4)|
|[X11](https://texonom.com/x11-5f4c77af06d04862a8b42353a3dc81fc)|
> [Compositing window manager - Wikipedia](https://en.wikipedia.org/wiki/Compositing_window_manager)
|
01e7cd4e7a35425abebbe16c50e5b93f
|
|
Window Controls Overlay
|
Window System Notion
|
Jun 14, 2022
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
electron์์๋ ์ง์
> [Window Controls Overlay](https://wicg.github.io/window-controls-overlay/)
|
e947399311d94fe59a014856df820f2f
|
|
Window Manager
|
Window System Notion
|
Dec 28, 2021
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
- tiling method
> - awesome
- dynamic method
> - i3
> - bspwm
> [Desktop Window Manager - Wikipedia](https://en.wikipedia.org/wiki/Desktop_Window_Manager)
> [Window manager - Wikipedia](https://en.wikipedia.org/wiki/Window_manager)
|
7f27fac502ea4471b9f9c377e49ec11e
|
|
Window System History
|
Window System Notion
|
Mar 18, 2021
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|


> [1. ๋ฆฌ๋
์ค ๊ทธ๋ํฝ ์์คํ
๊ณผ Wayland/Weston](https://prographics.tistory.com/2)
|
84f6c1586f1d49de855d5f315176e030
|
|
Cinammon
|
GTK Window Systems
|
Feb 3, 2020
| null | null | null | null |
gnome3 based
|
cea163f87afa4d6e8b1b1867a8112921
|
GNOME
|
GTK Window Systems
|
Jan 20, 2020
| null | null | null | null |
[gnome2](https://texonom.com/gnome2-de3408eafdf543708f272b99eabb0df9)
[gnome3](https://texonom.com/gnome3-a3a97de6938d406786ec9f6fa0d8534f)
[gnome 40](https://texonom.com/gnome-40-71eca2986dc942bdacad3ab797582e43)
[gtk](https://texonom.com/gtk-5b7dfb6bb3644ba1bc24062fd5bb6bf6)
- dark theme
```typeecho 'gtk-application-prefer-dark-theme=1' >> ~/.config/gtk-3.0/settings.ini```
> [How to change "Global Dark Theme" on and off through Terminal?](https://askubuntu.com/questions/769417/how-to-change-global-dark-theme-on-and-off-through-terminal)
- shutdown dialogue box
```typegnome-session-quit --power-off```
|
f4f9012077c34e4dbc6357f5521ed9f2
|
lxde
|
GTK Window Systems
|
Dec 28, 2021
| null | null | null | null |
39d1343c6bc44acc983c99ba2c6377fb
|
|
mate
|
GTK Window Systems
|
Dec 28, 2021
| null | null | null | null |
e91f7ecd17d64cd2a02f82c26b5f97b1
|
|
xfce
|
GTK Window Systems
|
Dec 28, 2021
| null | null | null | null |
c4015594465948aca9785d97550774ae
|
|
gnome 40
|
GNOME
| null | null | null | null | null |
> [GNOME 40](https://forty.gnome.org/)
|
71eca2986dc942bdacad3ab797582e43
|
gnome2
|
GNOME
| null | null | null | null | null |
de3408eafdf543708f272b99eabb0df9
|
|
gnome3
|
GNOME
| null | null | null | null | null |
a3a97de6938d406786ec9f6fa0d8534f
|
|
gtk
|
GNOME
| null | null | null | null | null |
5b7dfb6bb3644ba1bc24062fd5bb6bf6
|
|
Deepin
|
QT Desktop Environment
|
Jan 21, 2020
| null | null | null | null |
> [ํ & ํ
ํฌ - ๋ฆฌ๋
์ค ๋์ด๋ณด์์ Deepin OS ์ฌ์ฉ ํ๊ธฐ ๊ณต์ ํฉ๋๋ค.](https://hamonikr.org/board_bFBk25/47852)
|
77cccfda81604e54aabf2e266f18d406
|
KDE Plasma
|
QT Desktop Environment
|
Jan 20, 2020
| null | null | null | null |
### KDE Plasma Notion
|Title|
|:-:|
|[Konqueror](https://texonom.com/konqueror-0476051dcfbd4b15ba20cb96dbd09ace)|
dolphin - explorer, terminal
- ์ ์ญ ํ
๋ง - dark breeze
- ํ๋ก๊ทธ๋จ ๋ชจ์ - ์ฐฝ์ฅ์ - breezemite dark
- icon - qogir dark
kde ui framework
- kirigami
### kde on windows
> [Windows - KDE Community Wiki](https://community.kde.org/Windows)
### linux mint
> [How to Install KDE Desktop Environment on Linux Mint 19 Tara](https://linuxhint.com/install_kde_linux_mint_19/)
|
dfcb7fc088e746a7b1114b85ea230469
|
lxqt
|
QT Desktop Environment
|
Dec 28, 2021
| null | null | null | null |
2f255f136b124c38b927b8b706f1a707
|
|
Maui Shell
|
QT Desktop Environment
|
Dec 28, 2021
| null | null | null | null |
[Cask](https://texonom.com/cask-cf0a491a64bf4fad80de279d5000f3af)
[Zpace](https://texonom.com/zpace-9bd7338a34964f8d8e0ce3227be07714)
[maui-shell](https://github.com/Nitrux/maui-shell)
|
e38cb7e552b448d484c8a6909fa88b8c
|
Konqueror
|
KDE Plasma Notion
|
Jun 20, 2020
|
Alan Jo
|
Alan Jo
|
Dec 28, 2021
|
> [Untitled](https://namu.wiki/w/KDE?from=KHTML)
|
0476051dcfbd4b15ba20cb96dbd09ace
|
|
Cask
|
Maui Shell
| null | null | null | null | null |
shell container and elements templates, such as panels, popups, cards etc
|
cf0a491a64bf4fad80de279d5000f3af
|
Zpace
|
Maui Shell
| null | null | null | null | null |
composer, which is the layout and places the windows or surfaces into the Cask container
|
9bd7338a34964f8d8e0ce3227be07714
|
Quartz
|
Display Server Protocols
|
Dec 28, 2021
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
5871fb969408471e833d098f00f82cf4
|
||
Wayland
|
Display Server Protocols
|
Sep 27, 2020
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
[Wenston](https://texonom.com/wenston-8c38ac264bec41f59eb1104934a18768)
|
์คํ์์ค ์ปดํฌ์งํฐ์ค ๊ฐ์ฅ ์ ๋ช
### Wayland Notion
|Title|
|:-:|
|[wayland Hisotory](https://texonom.com/wayland-hisotory-b10ae19c8caa4cd398729d129a823db9)|
|[Wayland IVI Extension](https://texonom.com/wayland-ivi-extension-ab8337e4cd80457a9ac7d3d3f466b620)|
|[ivi-shell](https://texonom.com/ivi-shell-a6873868b110490fbd30a0dedbe7d07c)|
|[Wayland Surface](https://texonom.com/wayland-surface-28be7b2823fc4daf9fa6db800f10874a)|
### opengl, Mesa, DRM์ ๋ํ ๊ฐ๋
์์ด wayland์ ๊ตฌํ์ ์ดํดํ ์๋ ์๋ค
wayland๋ ์ด์ฐฝ๊ธฐ์ Kristian Hรธgsberg์ ์ํด ๊ธฐ์กด X window๋ฅผ ๋ ๋จ์ํ๊ณ ๋ชจ๋ํ๊ฒ ๋ฐ๊พธ๋ ค๋ ๋ชฉ์ ๊ณผ ํจ๊ป ์คํ์์ค ํ๋ก์ ํธ๋ก์ ์ฃผ๋
wayland ๋ ํผ๋ฐ์ค ์ปดํฌ์งํฐ์ธ weston์ ๊ฐ๋ฐ์ด ํจ๊ป ์์
๊ฐ๋ฐ ์์์ ์ด์ ๋ X window์์ ์ํ๋๋ ์๋ง์ ํ๋ถ ๊ธฐ๋ฅ๋ค์ด ์ปค๋(memory management, command scheduling, mode setting)์ด๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ(cairo, pixman, freetype, fontconfig, pango, etc)๋ก ์ฎ๊ฒจ์ ธ ์ฌ์ฉ ๋์ง ์์์๋ ๋ถ๊ตฌํ๊ณ user๋ ์์กดํด ์๋ X protocol์ ์ง์ํด์ผ๋ง ํ๊ธฐ ๋๋ฌธ
๊ทธ๋ํฝ ์นด๋ ํ๋์จ์ด๋ฅผ ์์ฉ ํ๋ก๊ทธ๋จ์ด ์ง์ ์ ์ดํ ์ ์๊ฒ ํ๋ ๊ฒ์ด ํน์ง

**wayland****๋ฅผ ์ฌ์ฉํ๋ย ****๋ํ์ ์ธ ์ด์ **
- ๊ธฐ์กดย ๋๋น(X11)ย ๊ฒฝ๋ํ,ย ์ฒด๊ณํ ๋ย ํ๋ ์์
- ๊ธฐ์กด์ย X11์ด ์ฌ์ฉํ์ง ์๋ ๋ถ๋ถ์ ์ ๊ฑฐํ๊ณ ํ์ํ ๋ถ๋ถ ๋ง์ย ๊ตฌํ
- ํ์คย GEM/DRMย ์คํ์ ์ด์ฉํ์ฌ ์ต๋ํ ๋จ์ํ๊ฒย ๊ตฌํ(์ปค๋์์ย DRM/GEM์ ์ง์ํ์ฌ ๋ ์ด์ย user framework์ด ๋ณต์กํด ์ง ํ์๊ฐย ์์)
- Genivi, AGL, Tizenย ํ๋ซํผ์์ย ์ฌ์ฉ
- X11์ย 1/10ํฌ๊ธฐ
> [1. ๋ฆฌ๋
์ค ๊ทธ๋ํฝ ์์คํ
๊ณผ Wayland/Weston](https://prographics.tistory.com/2)
|
670af55e623a4d879e43f34ecc7b0af1
|
X11
|
Display Server Protocols
|
Dec 28, 2021
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
5f4c77af06d04862a8b42353a3dc81fc
|
||
ivi-shell
|
Wayland Notion
|
Sep 27, 2020
|
Alan Jo
|
Alan Jo
|
Mar 13, 2023
|
wayland์ ์ํ์ด์ค(wl_surface)๋ฅผ ivi-application ํ๋กํ ์ฝ์ ๋งตํํ์ฌ surface, layer, screen์ ๊ด๋ฆฌ ๊ธฐ๋ฅ์ ์ง์ํ๋ plugin
|
a6873868b110490fbd30a0dedbe7d07c
|
|
wayland Hisotory
|
Wayland Notion
|
Mar 18, 2021
|
Alan Jo
|
Alan Jo
|
Mar 13, 2023
|
[X.Org](http://x.org/) ์ฌ๋จ ๊ฐ๋ฐ์ ๋ช ๋ช
์ด ๋ง๋ X ์๋ ์๋น์ค๋ฅผ ๋์ฒดํ๊ธฐ ์ํ ๋์คํ๋ ์ด ์๋ฒ
|
b10ae19c8caa4cd398729d129a823db9
|
|
Wayland IVI Extension
|
Wayland Notion
|
Sep 27, 2020
|
Alan Jo
|
Alan Jo
|
Mar 13, 2023
|
ab8337e4cd80457a9ac7d3d3f466b620
|
||
Wayland Surface
|
Wayland Notion
|
Sep 27, 2020
|
Alan Jo
|
Alan Jo
|
Mar 13, 2023
|
28be7b2823fc4daf9fa6db800f10874a
|
||
Quartz Compositor
|
Display Servers
|
Mar 18, 2021
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
OS X์ด ์ฌ์ฉํ๋ ์๋ ์์คํ
> [What is the architecture of Mac OS X's windowing system?](https://unix.stackexchange.com/questions/517/what-is-the-architecture-of-mac-os-xs-windowing-system)
|
fcbf4e0f615a4139b05f25c7b607b815
|
|
SurfaceFlinger
|
Display Servers
|
Mar 18, 2021
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
์๋๋ก์ด๋
|
a40de1645ce543f3845dcfeadc7c4f4d
|
|
Wenston
|
Display Servers
|
Sep 27, 2020
|
Alan Jo
|
Alan Jo
|
Apr 28, 2023
|
[Wayland](https://texonom.com/wayland-670af55e623a4d879e43f34ecc7b0af1)
|
### Implement Wayland protocol/compositor
- Shell pluginย ์ง์(desktop-shell, xdg-shellย โฆ)
- weston์ ์๋์ฐ๋ค์ ์ฌ๋ฌ ๊ณ์ธต์ผ๋ก(๋ ์ด์ด)ย ๊ตฌ๋ถํด์ ๊ด๋ฆฌํ๋ค(๋ง์ฐ์ค ์ปค์ ๋ทฐ, app1ย ๋ทฐ, app2ย ๋ทฐย โฆ)
- weston์ย shell์ ์ด์ฉํ์ฌ ์ถ๋ ฅ๋๋ ๊ฐ ์๋์ฐ(๋ทฐ)์ ์์๋ฅผ ๊ฒฐ์ ํ๋ค
- weston์ ์๋์ฐ๋ฅผ ํ๋ฉด์ ๋ํ๋๊ฒ ํ๊ฑฐ๋ ์์น๋ฅผ ์ฎ๊ธฐ๊ฑฐ๋ ํฌ๊ธฐ๋ฅผ ๋ณ๊ฒฝํ๋ ๊ธฐ๋ฅ์ ์ง์ํ๋ค(get_shell_surface()๋กย wl_surface๋ฅผ ์ป์ ํ)
> [1. ๋ฆฌ๋
์ค ๊ทธ๋ํฝ ์์คํ
๊ณผ Wayland/Weston](https://prographics.tistory.com/2)
|
8c38ac264bec41f59eb1104934a18768
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.