일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 협업필터링
- 파인만의 식당문제
- react-cookie
- feynman's restaurant
- Hits
- 메세지인증코드
- Git
- 러스트
- brew 권한
- 프라미스
- 인공지능
- 인페인팅
- 딥러닝
- 커널생성
- 머신러닝
- cs231n
- 커널제거
- rust
- image restoration
- 자바스크립트 비동기
- 페이지랭크
- computer vision
- 컴퓨터 보안 키분배
- tcp
- 비동기 프로그래밍
- 키분배 알고리즘
- pagerank
- recommender
- Readme image
- 파이썬
- Today
- Total
목록Category (77)
Worth spreading
The Woman Who Can't Close Her Eyes introduced this song.
내리막길에서 듣기 좋은 노래
바쁜 대기를 이용한 상호배제 1. 인터럽트 끄기(Disabling interrupts)가장 간단한 방법이지만 그다지 유쾌한 방법은 아니다. 각 프로세스가 임계구역에 진입하자마자 인터럽트를 끄고 임계구역에서 나가기 직전에 인터럽트를 켜도록 하는 방식이다. CPU는 오직 클록이나 다른 인터럽트의 결과로 프로세스간에 문맥을 교환하므로 인터럽트를 끄면 CPU는 다른 프로세스로 문맥을 교환하지 않는다. 따라서 프로세스가 인터럽트를 끄면 다른 프로세스가 끼어들 걱정 없이 공유 메모리를 검사하고 변경할 수 있다. 이 방법이 유쾌하지 않은 이유는 우선 사용자 프로세스에게 인터럽트를 끌 수 있는 권한을 주는 것은 현명하지 못하기 때문이다. 만약 프로세스 중 하나가 인터럽트를 끄고 다시 켜지 않는다면 어떻게 될지 생각해 ..
Conditions required to avoid race condition1. Mutual Exclusion - No two processes may be simultaneously inside their critical regions. 2. No assumptions may be made about speeds or the number of CPUs.3. Progress - No process running outside its critical region may block other processes.4. Bounded Waiting - No process should have to forever to enter its critical region. 1. 상호배제 - 두 개의 프로세스가 동시에 임..
TCP 는 Rwnd를 이용한 flow control을 제공한다. 그런데 이것에는 한가지 결함이 있다. 수신자는 데이터를 수신했을 때 보내는 ACK 신호의 data segment에 rwnd 값을 담아서 송신자에게 보낸다. Rcv window가 꽉 차서 수신자가 rwnd를 0으로 표기해서 보내면 송신자는 rwnd에 여유가 생겼다는 신호를 받을 때까지 데이터를 전송하지 않는다. 그런데 만약 수신자가 더이상 보낼 ACK가 없다면 송신자와 수신자는 모두 하염없이 기다리는 상황이 된다.이러한 문제를 방지하기 위해 송신자는 rwnd = 0 라는 신호를 받게 되면 rwnd가 0이 아닌 값이라는 ACK를 받을 때까지 1byte의 데이터를 수신자에게 계속 보낸다.
code : Event : ACK received, with ACK field value of y if (y > SendBase) { SendBase = y If (there are currently any not yet acknowledged segments) Start timer } else { /*a duplicate ACK for already ACKed segment */ increment number of duplicate ACKs received for y if (number of duplicate ACKs received for y == 3) /* TCP fast retransmit */ resend segment with sequence number y } break; - 송신자가 수신자..
Question : Why do you think TCP avoids measuring the SampleRTT for retransmitted segments? Answer1 : The retransmitted segments contain the same data and the same sequence numbers as the previously sent packets. Therefore, for the retransmitted segments, we would expect the same ACK numbers as the previously sent TCP segments. When we receive these particular ACKs from the receiver, we don't rea..
Acne Studios is revamping its denim products, replacing them with new permanent styles and releasing a new denim collection under the Blå Konst, “blue art” in Swedish, banner. It will only have three styles for each gender: baggy, skinny and straight. The denim itself has been modified. Little details like the buttons and rivets are also redesigned. Blå Konst will be launched on Apr. 6 online an..