Friday, June 12, 2009

Optimize Your BitTorrent Download Speed

1. Hack the max half-open TCP connections

If you’re on XP sp2, your TCP connections are limited to a maximum of 10. This might hurt your downloading speed because it wont let you connect to as much peers as you want. It is supposed to slow down viruses because their spreading strategy is to connect to a high amount of ip numbers, but it could cripple your torrent downloads.

A nice way to fix this is to download this patch.

Note: Some people report that their antivir reports the patch to be a Virus, This is not the case. Check out http://www.lvllord.de/ for more details on this

The patch allows you to set the maximum allowed connections to any number you want. Any number between 50 and 100 is ok (more is NOT always better).

Next you need to configure your torrent client to allow 50-100 max half-open TCP connections

uTorrent: Options > Preferences > Advanced options > net.max_halfopen

tcputorrent

Bitcomet: Options > Preferences > Connection > max half-open TCP

tcpbitcomet

Now you’re ready to go…

A third point of interest is that some “windows updates” revert your tweaked tcp connections back to 10. So it’s wise to check this every now and then. You can check this by going to (in windows xp) Start > Control Panel > Administrative Tools > Event Viewer > System… Look for event 4226 (sort by event).

event

For more details about Windows XP SP2 and Event ID 4226 read David Kaspar’s excellent post

If there are a lot of daily occurences it’s likely that the max amount of half-open tcp connections was set back to 10. Or you’re infected with some nasty spyware…

2. Torrent Client Configuration

In order to apply these tips you need to know your maximum up- and download speed. You can test your bandwidth over here (stop all download activity while testing). Also make sure that you applied the tips provided in our previous posts.

Note that there’s a difference between kb/s (kilobits/second) and kB/s (kilobytes/second). To be precise, kB/s = kb/s divided by 8. In this tutorial we use kB/s (like most torrent clients do). This means that you might need to calculate your max speed in kB/s yourself if the speedtest only gives you the results in kb\s (so divide by 8 then).

Settings 1-4 can be found in the options, settings or preference tab of most torrent clients.

1. Maximum upload speed

Probably the most important setting there is. Your connection is (sort of) like a pipeline, if you use you maximum upload speed there’s not enough space left for the files you are downloading. So you have to cap your upload speed.

Use the following formula to determine your optimal upload speed…

80% of your maximum upload speed

so if your maximum upload speed is 40 kB/s, the optimal upload rate is 32kB/s

But keep seeding!

2. Maximum download speed

Although setting your maximum download speed to unlimited may sound interesting, in reality it will only hurt your connection. If you still want to be able to browse properly, set your maximum download speed to:

95% of your maximum download speed

so if your maximum download speed is 400 kB/s, the optimal download speed is 380kB/s

3. Maximum connected peers per torrent

Yet another setting that you don’t want to max out. I experimented quite a lot with the max connected peers settings and came to the conclusion that both high and low number hurt the download speed of a torrent. The following setting worked best for me.

upload speed * 1.3

so if your maximum upload speed is 40 kB/s, the optimal amount of connected peers per torrent is

40 * 1.3 = 52

I didn’t noticed a difference for fast or slow connections here.

4. Maximum upload slots

1 + (upload speed / 6)

so if your maximum upload speed is 30 kB/s, the optimal number of upload slots is

1 + (30 / 6) = 6

The name of the rose

Remediation

By Huma Yusuf

The oft-quoted phrase about roses by any other name smelling as sweet sometimes bears recollection. Indeed, synonyms, euphemisms, and metaphors can make reality a tad more palatable, but language cannot alter the facts. And so it was with international media coverage of the events that unfolded in Karachi over the weekend. Actions that were initially being described as rallies, demonstrations, calls for democracy, activism, protests, and initiatives for democratic participation were soon identified more accurately as clashes, showdowns, and, simply, violence. When stripped of its rhetorical and politicised garb, the mayhem that left 41 people dead, paralysed the city for three days, damaged urban infrastructure, and compromised press freedom, can only be referred to as unfettered, senseless violence. In this context, I would argue that there's a value to depicting things exactly as they are. After all, speaking in tongues never helped anyone fumble towards moral clarity or sound judgement.

Student activists at Harvard University in Cambridge, Massachusetts, recently exemplified the idea that describing something for what it was could lead to increased fairness and ethical decision-making. The Alliance for Justice in the Middle East (AJME), a student group, is campaigning against Harvard's policy of admitting and hiring people who boast public, well-documented records of war crimes and human rights abuses. The students are calling for the university to screen for human rights violations as part of its admissions and hiring procedures. As of now, AJME's website identifies seven "abusers" who are -- or soon will be -- in a position to describe themselves as "Harvard-trained".

The individuals identified by the site as war criminals include six Israeli army officers and one former minister of defence from Guatemala. By asking the university to revise its admissions procedures, its students are essentially asking the institution to scrutinise and decode the notion of 'military service' and determine whether or not it is a veiled way of referring to a history of war crimes or abuse. In other words, Harvard is being asked to call a rose by its name, or, more aptly, address the thorn in its side. Interestingly, the student activists are not shirking from using the term 'war criminals' to describe defence officials because the transgressions that AJME is denouncing include genocide, torture, the taking of hostages, targeting civilian populations, unlawfully deporting citizens, killing protected persons, or destroying extensive property.

Currently, AJME is focusing its protest around Dan Halutz who recently arrived in Cambridge to attend the Advanced Management Program at the Harvard Business School (HBS). Halutz's claim to fame is that he was the head of the Israeli military during the 2006 Israel-Lebanon war. During that conflict, he sanctioned a policy of indiscriminate aerial bombardment that included the saturation bombing of southern Lebanon, air strikes aimed at civilian areas in Beirut, and the destruction of Lebanon's infrastructure and manufacturing base -- activities that amount to war crimes as defined by international human rights organisations. According to AJME, Halutz's aerial strategy and use of Israeli jets led to the death of 1.200 Lebanese civilians in 33 days. As such, the students argue that a man like Halutz with a known record of human rights violations should not be able to benefit from the legitimacy, social capital, access to power and resources, and personal clout that an affiliation with an institution of Harvard University's calibre affords.

Unfortunately, Halutz is not the only abuser and criminal to taint the crimson hue and creeping ivy of Harvard. Gabi Ashkenazi, who attended the Advanced Management Program at HBS in 2004, is decried by AJME for twice having command responsibility for the Southern Lebanon Army, Israel's proxy militia with a notorious record of human rights violations and infamous detention centres where people were tortured and detained in horrifying conditions.

AJME also exposes the war crimes record of Hector Gramajo Morales, who earned a Master's in Public Administration at Harvard's Kennedy School of Government (KSG) in 1991. Gramajo was army vice chief of staff and director of the Army General Staff in Guatemala from 1982 to 1983, when the military killed up to 75,000 people in a counterinsurgency campaign targeting the country's Mayan inhabitants. Interestingly, it was while heading to his Harvard commencement that Gramajo was informed that eight Guatemalans were suing him for human rights abuses they had endured at the hands of forces under his command. Although he fled the US soon after, the US courts ruled against Gramajo and awarded damages to the plaintiffs under the Alien Tort Stature, which allows courts to process lawsuits regarding foreign human rights violations.

Similarly, the student activists highlight the case of Doron Almog, who was head of the Israeli military's Southern Command from late 2000 to mid-2003, bore overall responsibility for Israeli operations in the Gaza Strip, and went on to attend KSG in 2004. At Harvard, Almog was a senior fellow at the Belfer Center for Science and International Affairs. In September 2005, the Chief London Magistrate issued a warrant for Almog's arrest on suspicion of war crimes, specifically, the demolition of homes and other property in the buffer zones of Rafah in January 2002. In order to evade his arrest, Almog left London and returned to Israel.

Other "rogues" identified by AJME include Moshe Kaplinksy, who is expected to attend HBS in the fall this year after serving as the deputy head of the Israeli military during the 2006 Israel-Lebanon conflict and sanctioning the firing of more than 3.5 million cluster bombs in the last three days of the war. Noam Tibon, who also received a Master's in Public Administration from KSG in 2002, is also 'outed' as the commander of Israeli forces in Hebron in the West Bank from 1999 until 2001. Meanwhile, Yitzhak Eitan, who attended HBS in 2002, earned his wartime criminal record as a commander of the Israeli army in the West Bank.

The student activists' demands that stringent screening processes be implemented by Harvard University essentially translate into a request that no violence of any kind be condoned or celebrated by an esteemed academic institution. No doubt, the call for screening is controversial since it could potentially open up the floodgates to having activist groups on campus influence admission committee decisions in a variety of cases, both military and non-military. Moreover, no one wants to suggest that a career in the military, no matter where, when, or under what circumstances, translates into a history of war crimes.

Still, an attempt should be made to distinguish between military service and human rights violations. Perhaps international codes of humanitarian conduct should consider the predicament of academic institutes faced with the violent and inhumane actions of their applicants, graduates, and current students. Could international human rights organisations and conventions require certain screenings of students? And could they also support a university's decision to strip a student or alum of academic credentials if they participate in violence, human rights violations, or war crimes? Returning to Karachi, perhaps, if empowered to do so, institutes of higher learning here could begin the process of identifying and condemning unacceptable violence, rather than clothing it in the rhetoric of social, ethnic, or political unrest.


The writer is a media analyst currently pursuing a master's degree at MIT's Comparative Media Studies programme. She was previously features editor at an English monthly. Email: huma.yusuf @gmail.com

This article can be read here too. The copyright for this article rests with Miss Huma Yusuf.

A Great Loss: Randy Pausch Is Dead

A couple weeks back, there was an email circulating amongst faculty and students of NUST School of Electrical Engineering and Computer Sciences about Randy Pausch's inspirational last lecture/address at Carnegie Mellon University regarding how to achieve one's childhood dreams. He died on July 25, 2008 at the age of 47.

Randy Pausch
Randy Pausch in his last lecture at Carnegie Mellon university

Mr. Pausch knew that he was going to die in a couple months due to pancreatic cancer. He delivered the lecture on 18th of September, 2007 but it spread around the world like wildfire. I saw the video of the lecture through YouTube. While delivering the lecture, he was calm and humorous. The address was heartfelt and inspirational. I encourage students from any and all disciplines to watch the video.

Randy Pausch was known rather well in the academic community. He won numerous awards in the field of computer science. Time Magazine even added him to its list of 100 most influential people in the world.

I feel that the loss of Mr. Pausch is a great loss for the academic community. There are few people who will be remembered as well Randy Pausch will be.

May his soul rest in peace. Amen!

Thursday, June 11, 2009

The Dark Room ;-).


Get your own chat on spinchat.com!