Showing posts with label 기술은 하루가 다르게 변합니다. Show all posts
Showing posts with label 기술은 하루가 다르게 변합니다. Show all posts

Tuesday, March 3, 2009

Which are the main factors leading to TCP throughput degradations over wireless links?

One of the main reasons of throughput degradation over wireless links is transmission errors. Only few packets are corrected by frame error correction codes but more packet errors are assumed as a corrupted packet and discarded. These packets are considered as a lost packet by TCP and congestion window size is reduced as TCP takes packet loss as a sign of network congestion, in reality it may not be due to the congestion. This unnecessary reduction of congestion window may lead to the throughput degradation. 

Another reason of throughput degradation over wireless links is the Frame Error Rate (FER). It suffers from FER of 1.55% when transmitting 1400 byte frames over an 85 foot distance, with clustered losses. Reducing the frame size by 300 bytes halves the measured FER, but causes framing overhead to consume a larger fraction of the bandwidth. In shared medium WLANs, forward TCP traffic (data) contends with reverse traffic (acknowledgments). In the WaveLAN this can lead to undetected collisions that significantly increase the FER visible to higher layers. File transfer tests over a WaveLAN with a nominal bandwidth of 1.6 Mbps achieved a throughput of only 1.25 Mbps. This 22% throughput reduction due to a FER of only 1.55% is caused by the frequent invocations of congestion control mechanisms which repeatedly reduce TCP’s transmission rate. If errors were uniformly distributed rather than clustered, throughput would increase to 1.51 Mbps. This is consistent with other experiments showing that TCP performs worse with clustered losses.

Friday, February 27, 2009

Why is TCP performance more affected by losses over high-delay and high-speed network paths?

TCP recovers from errors through end to end retransmissions that is the reason why recovery is slower in high delay paths. Further, because it takes longer to reach the peak throughput supported by higher speed links TCP drastically reduces its throughput after each loss.

Monday, February 23, 2009

The CSMA/CA access protocol does not detect collision as CSMA/CD does. How does this limitation affect link-layer and transport-layer performance?

In wired network, when two transmitters start simultaneously collision occurs and that can be detected by transmitters. Then they abort their transmission and retry later. However, in wireless networks transmission and reception is done in the same band that makes collision detection difficult. Hence, the WLAN use CSMA/CA to avoid collision. CSMA/CA, is listen before talk mechanism, where transmitters wait for a random interval after the medium becomes idle before starting transmission. The transmitter that starts first seizes the medium and all others back off, there by reducing the change of collisions. However, there may be collision that is not detected by CSMA/CA and corrupted frames not retransmitted by CSMA/CA are considered by the link-layer and transport-layer. Link layer is responsible for flow control, acknowledgement and error recovery. It also species which mechanism are to be used for addressing stations over the transmission medium and for controlling the data exchanged between the sender and receiver. To recover from wireless losses, including undetected collisions, transmitters may need to optionally ask for acknowledgements to retransmit transparently unacknowledged frames at the link layer. Further, in some cases, wireless transmission errors are not related to network congestion but due to corrupted packets that not handed over to TCP. TCP assumes those packets are lost and reduces its congestion window size that leads to throughput degradation.

Friday, January 30, 2009

New Google

Thesedays, Google is a synonyms for search engine. People say googling for search in the internet. Many new innovative (not sure how innovative they are though) search engines are showing their existence in the market. 

Today, I received an email from SONSIK yahoo group member mentioning that the search engines that we are mostly using Google and Yahoo, there is a new searching engine promoting by Nepalese. The mail requested to try the search engine. I tried it and searched some stuffs too. I read the About Us column. It seems that basically the search engine is operating from US. It has offices in both country US and India. The promoters are seems to be Nepalese and Indian origin. The official blog is written in January 28, 2009, looks pretty new. 

The name of the search engine is given Sagoon. Although the GOO of Sagoon looks like taken from Google, it’s not true. It’s derived from Sanskrit which means Auspicious or ushering good results. In News section there are two language changing options – Nepali and Hindi. It can be assumed that this search engine is targeted to the Nepali and Indian users. History shows that Google and Yahoo are not big success in non-english speaking countries like China and Korea. So this search engine can be very popular as a regional search engine. 

The founder of the company Sagoon Inc. Govinda mentions in the blog that it’s the beginning of their journey, a journey with bigger challenge. Of course, as there are many Big Bosses in search engine industries occupying large market shares already, it might be challenging for Sagoon. 

Anyway, finger crossed to Sagoon team for their success. 

www.sagoon.com

Saturday, January 17, 2009

Why TCP modeling?

There are certain things we can achieve with TCP modeling that cannot be achieved with simulation. Some of them are as follows. 

  • We can model some uncertainties using stochastic process that cannot be determined by simply simulation. For example, number of current TCP connections, how much bandwidth is occupied by the non TCP transport protocols and what is the effect of those in TCP etc. 
  • TCP operating scale is very large in terms of geographical scale and the number of inputs/outputs. To simulate the large number of inputs/outputs and geographical scale is not easy due to hardware constraints (some times budget constraints as well).
  • Mathematical models are required to quantify metrics that define system performance and develop control strategies that result in the optimum being achieved.
  • It also helps to determine how close it is to achieving a system optimum, as defined by a specific cost function, and subsequently identify issues that need to be addressed in future control protocol. 
  • TCP is already mostly used transport layer protocol in the world. To test some optimization in it is not easy to implement in real world scenario and observe its performances. So, before implementation any optimization patches it is very much necessary to model it. Some examples of those patches are Fast Retransmission and Fast Recovery. These were not in the very first version of TCP.

Tuesday, May 6, 2008

IT 편집자의 생활

저는 고등학교 있을 때 컴퓨터를 처음에 접 했어요. 그 전에 인도 방송은 텔레비전으로 만 봤어요. 우리 고향이 우리나라 수도에서 너무 멀어서 네팔 방송은 안됐었습니다. 우리 학교에 컴퓨터 없었습니다. 그때는 컴퓨터 인기가 점점 높아지고 있었습니다. 우리 누나는 저한테 컴퓨터학원 가서 컴퓨터 배우라고 했습니다. 저는 IT 쪽 일을 할때 우리 누나가 큰 공헌을 했습니다.

저는 컴퓨터 학원 다닐 때 아이비엠 80286 컴퓨터 사용 했어요. OS는 플로피 디스크 5.25" 에 있었어요. 아이비엠 컴퓨터 쪽 GUI 기반 OS 없고 맥 (애플 매킨토시) 컴퓨터에 만 GUI 기반 OS 있었어요. 우리 나라 말 글자 (뎁나거리) 맥 컴퓨터에 만 쓸 수 있었어요. 하지만 맥은 아이비엠 보다 3 배 비싸서, 보통 사람들 별로 못 샀습니다.

처음에 저는 컴퓨터 배울 때 도스 3.0, 배식, 시, 파스칼, 워드퍼팩트, 로터스 123 등 배웠어요. 컴퓨터 소프트웨어 배우면서 컴퓨터 하드웨어 도 좀 배웠어요. 그 다음에, 윈도 3.1 와 3.11 새로 나왔어요. 그 윈도 3.1 안정 (stable) 버전 있어서, 1995년 도까지 사용했어요.



1995 년도부터 소프트웨어에 새로운 기술이 만들어 졌어요. 마이크로소프트가 PC 에게 GUI 기반 OS 만들었어요. 유니코드 도 쉽게 사용 할 수 있어요.

1998년 도 에 Y2K 문제가, 큰 문제 있었어요. 그때는 우리친구들 몇 명 인도 가서 코벌 (COBAL) 배워서 미국에서 쉽게 작업 받아서 일하러 갔어요. 저 도 계속 1990 년도부터 컴퓨터 쪽에 관심이 많아서 IT 전공 대학교 들어갔어요. 그때는 우리나라 IT 교육 별로 없어서 저는 인도에 있는 대학교에 들어갔어요.

그런데, 운이 나쁘게 (언러키리) 대학교 졸업할 때, 상황이 너무 바뀌었어요. 미국에 있는 돗콤 기업은 문을 닫았습니다. 고용 시장이 크게 감소했어요. 미국에서 주는 H1B 비자도 쉽게 받지 못했어요. 인도에서 직장을 구하면 월급은 나쁘지 않지만 좋은 대학을 졸업해야만 돼요. 인도에 인도는 지금 2001년이나 2002년보다 고용 시장이 좋긴 해요.

IT 직업은 안정적지 않습니다. 그 이유는 IT 기술은 하루가 다르게 변합니다. 이 쪽 계속 일하고 싶으면, 새로운 기술을 업데이트 해야 돼요. 안되면 기술을 우리보다 더 앞서 갑니다. 예를 들어, Y2K 문제 있었을 때 최고 코벌 잘하는 분 지금 일 없어요.

지금은 개발자들 코벌로 개발 안 해요. 저도 코딩 할 때 도 8088 마이크로프로세서로 코딩 했었는데 지금은 아무도 8088 는 사용 안 해요. 지금은 학생들은 바로 80386에서 시작합니다. 그 마이크로프로세싱 배울 때 정말 열심히 공부했어요, 지금 생각 하면 마음이 아픕니다.

전체적으로, IT 쪽으로 일하기는 재미있지만 너무 힘듭니다. 시간이 빨리 지나가요. 가족이나 친구들이랑 노는 시간 별로 없습니다. 저는 네팔, 인도, 미국, 그리고 한국에서 도 일했었지만 어떤 나라를 가도 개발자들 생활이 비슷해요. 그러나 한국 과 중국에서 야근 많이 해야 돼요. 다른 직업 보다 너무 나쁘지 않은데 아주 좋은 것도 아닌 것 같아요.