Aug 10, 2008

Unforgetable Womens in CS

Here some of the info, which I found during a discussion in the
ILUGC mailing list.
Yale Univ
ADA
Grace
Allison
Kim
Valhenson
LinuxChix
LinuxChixIndia

Jun 21, 2008

Minimum Ethernet Frame/Packet Size



Here is my understanding about the reason behind the Minimum Ethernet Frame Size (64 Bytes).

The old Ethernet LAN spread across the campus area of the university. The normal distance is around 2500meters. The network segmented by 500meter cables. The speed of this LAN is 10Mbps.
Ethernet is a broadcast medium and at a time only one node should sent its frame in that. If more then one node is trying to send the frames, then collision will happen. To avoid the collision the Ethernet is using the CSMA/CD technique.

What is collision? Ethernet device will check the Ethernet medium for some signal. If it finds any, then it will understand that, some other node is already transmitting in the medium and it will not send any frame/packet.

Now we will go into some more details, refer the image. Now machine A see no signal in the medium and start sending the 100 bytes packet. When it is sending the 48 bytes, it is see some signal on the medium and immediately abort the transmission. Is it Ok?? No!?

Ethernet device sending the frame bits for X uSec and pause the transmission and check for a collision on the medium. When it is doing like this, the 1st bit signal of current packet hit the other end of network and echoed back in the opposite direction. Our device is still busy sending the packet and checking for collision. Now what will happen, if it detect it's own frame's echo as the collision?? It will wrongly stop its transmission. If our device does like this, it will never be able to transmit the complete the packet. So it should ignore this collision and continue its transmission.

There is no way to differentiate the collisions, then how it can ignore the collision, which is happening due to its own frame echo. The trick is, by the time, when the its own frame echo reaching back, the all computer in the network identified a collision and stop their transmission. So that the device can safely ignore this collision. Now the important info is, After how much time, I should start ignoring the collision??

We find this using the following steps:

LAN Length (L) = 500 x 5 = 2500 Meters

Propagation Time in the Cable (S) = 200 Meters/uSec

Delay added by repeater (D) = ~3uSec x 2 (Bi-Direction) x 4 Repeaters = 24uSec

Round Trip Delay (RTD) = (Total Distance/S) + Other Delays = (2L/S) + D = (5000/200) + 24 = 49uSec

So we should start ignoring the collision after the RTD Time, 49uSec.

To everyone notice the collision, we should keep transmitting the bits above the RTD Time. So our minimum frame size must be greater then the no. of bits that can be transmitted with in the RTD.

LAN Capacity (C) = 10Mbps

Bits transmitted with-in RTD = RTD x LAN Capacity = 49 x (10^-6) x 10 x (10^6) = 490 Bits.

Minimum packet > 490 Bits

We will take the nearest big number, with power of 8, is 512 Bits.

The minimum Ethernet Frame Size is 512/8 = 64 Bytes

The Maximum frame size is decided to prevent a particular node from hogging the network for long time. For Ethernet, 1500.

To keep the backward compatibility, when network speed increases the LAN length is reduced. But recent technologies are using different technique to over the distance issue.

May 5, 2008

Unicode Tamil Keyboard layout



Nearly after 4 yrs, I started typing in my language Tamil. I using the Unicode Keyboard layout. Just for my purpose, I created the above image.

Apr 3, 2008

Device Driver Messages in Separate file

Few days back, I was trying to find a way to redirect the all my driver message to separate file rather then the /var/log/messages file using syslog config file. But I didn't find any trick :(

In this process, I was reading the man klogd(8). Wow!! klogd -f /var/log/kmesg option solved my problem.

Mar 30, 2008

IEEE Comsoc not friendly to FOSS System

Recently one of my friend told me that the IEEE Comsoc site provides few free tutorials on communication area. So I decided to spend this week end to go thru this site. But when I tried to go thru this site from my GNU/Linux system, I got the following error message "It relies on software only available for the Windows® platform and therefore can only be viewed on that platform".

It is very sad that, one of world famous technical community does not understand the existence of different OS env and failed to make env neutral web site. Shame.

Mar 18, 2008

Virus

Recently I visited a Engg College in Pudukotti for a FOSS Awerness program to College teachers. During this program, we try to boot the few machines with Ubuntu Live CDs for demo purpose. Suddenly the lab-in-charge came, stopped us from booting the systems and removed network cables from thous systems. Then only allowed us to boot the system.

I asked him, "Why!?". He said, "Linux Virus will affect our lab machines". :-)

Bharathi Subramanian

The Social Animal

About Me

Thiruvanduthurai, Tamil Nadu, India