Ingress Policing with Linux and tc

September 6th, 2005

linux penguinI am simply amazed at the things GNU/Linux can now do, especially with regard to IP networking. I use pf under OpenBSD, a Unix-like operating system that is not Linux, to keep untrusted wireless access traffic from my trusted wired network at home. Lately, I have been working with Linux operating systems in a corporate environment and needed packet policing. It feels good to be able to get similar features to a Cisco device without the need to make a 4500USD purchase.

An ingress policy can decrease the amount of incoming traffic, but it depends on well-behaved TCP/IP stacks and a transport protocol that supports throttling on the sending hosts. The following commands install an ingress queue to eth0 and applies a filter that applies a policy rate of 512kbit.


tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 50 \
   u32 match ip src 0.0.0.0/0 police rate 256kbit \
   burst 10k drop flowid :1

tc qdisc add dev eth0 root tbf \
   rate 256kbit latency 25ms burst 10k

Hate the Game, not the Player

September 3rd, 2005

I’m going to fucking kill Google,” Steve Ballmer has been credited with saying. Ballmer allegedly included this statement in his exchange with Marc Lucovsky when Lucovsky declared his intent to leave Microsoft to join Google. In defense, Ballmer stated that Lucovsky’s decision to leave was disappointing and that he attempted to persuade Lucovsky to stay. Obviously, Ballmer’s efforts were ineffectual despite Ballmer allegedly throwing a chair across a room.

The article at smh.com.au also describes Kai-Fu Lee’s offer. Google put a 2.5M USD signing bonus, a 1.5M USD bonus for staying a year, 250K USD annual salary, and some stock and stock options on the table. I have had earlier thoughts about the Kai-Fu Lee ordeal.

It is obvious that Google understands the potential contributions that these individuals can provide. Google also seems capable of making offers that Microsoft cannot match. There are at least three things Microsoft can do: increase compensation, increase job flexibility so that developers do not feel limited to or forced to specialize in certain projects, enhance company image so that Microsoft attracts industry researchers and innovators. Surely, if Microsoft matched Google’s offer and provided an environment that is similar to or more appealing than the one that Google provides, it would be more difficult for other companies to lure its employees away. After all, these candidates recognize the risks they take when entering a new company, and they surely measure the benefits gained from the new company over the loss of tenure at their former one before they make their decision to leave.

The choice to risk little for a lot of gain is obvious. To keep employees, companies need to make the gains that they provide to their employees equitable or competitive to the gains offered to their employees by their competitors.

Computer Job Insourcing

August 27th, 2005

ABC News brings the notion of what I call job insourcing to the mainstream with this article. There are many displaced computer workers who would be willing to accept a lower nominal salary if that salary can afford them a good life, even if it meant relocating them to a place with a low cost of living. I would rather hear an American working Dell’s customer service lines than hearing about the US national unemployment rate being greater than five percent. I hate knowing that unemployment is greater than ten percent in some communities. Foreign companies, like certain Japanese car companies, have built facilities to manufacture goods in America that are intended to be marketed within America. It is only fair that a company that intends to sell a product also provide a means for their targeted consumers to purchase that product. Many US-based companies should have considered the insourcing alternative before leaping into the cheap labor markets. They should consider helping the economy of the country that provided an environment where their businesses were allowed to flourish.

Remaining Competitive

August 24th, 2005

Checking out university course descriptions and syllabi is one way I remain sharp and competitive within the computing industry. They serve as a great resource on what books to purchase for recreational reading. They sometimes also validate other books I bought after some cursory reading at traditional bookstores. I have always questioned why otaku fascinate themselves with science fiction literature. Wouldn’t being intrigued by information science theory be better?

Text Retrieval and Mining: CS276A at Stanford
Parallel Programming: CS233A at UCLA
Artificial Intelligence: 15-381 at CMU

The Google Dance

August 21st, 2005
Posted in - blah - | No Comments

google.comGoogle apparently had a party this past Tuesday. The party invited people who study and attempt to use their knowledge of Google’s algorithm to boost rankings of their site on Google’s search engine results pages. An article at CNN.com brings up the party as well as search marketing and the value of being listed within the first few search engine results pages. CNN.com also credits Shari Thurow with saying that the “best way to increase a site’s search engine ranking is to offer valuable content and products.”

While I was reading this article, I noticed Peter Norvig‘s name. I recognize his name, because he is a co-author of a favorite undergraduate computing book, Artificial Intelligence: A Modern Approach. I am unable to see limits to Google’s awesome ability to recruit top-quality computing professionals like Norvig.