Archive for June, 2009

CPU-makers, WAKE UP!

We have known for many years that the future lies in cheap, good-enough CPUs. What do Intel and AMD crank out? Hearts for super-computers.

Wake up, folks. We read that ASUS is awash with Atom CPUs and is dumping them in China where they are good enough. Intel is upset that this reduces the market for high-powered CPUs.

I have been writing on these pages for years that China is a key market. This is more proof. The world will produce what China wants in software and hardware. China wants low-cost/power/heat CPUs and Free Software. They will get it whether Intel supplies them or leaves it to VIA/ARM/home-grown stuff.

What are the Chinese doing with Atoms, besides netbooks? Not much except cranking out ever-lower-cost netbooks that are good enough for browsing/word-processing. ARM is in the mix too. Atom has to be priced as low as ARM to keep share for Intel and Wintel. It is not. The market will decide no matter how much Wintel twists the arms of OEMs. Entrepreneurs in China have no interest in being co-opted by Wintel when they have a market in hand for all their production for years to come. The Chinese market is several times the size of the USA and netbooks are good enough for what they want. Why even try to sell fire-breathing dragons there?

The neat thing for me about China is that because they demand low-cost computing, GNU/Linux has the inside track. The newly announced pricing for that other OS prevents it from competing with GNU/Linux in this market. If they keep the price low in China, other countries will demand similar treatment. It is almost over, folks.

- Robert Pogson

The End of the Strip-tease

M$’s biggest product is vapourware but they do an excellent job of selling it one feature at a time in order to capture mind-share. OTOH anyone who looks at what is finally delivered as value/dollar will be shocked at what many pay for second-rate software. Remember the wonderful features for Longhorn Vista? They turned out to be worse than the features of GNU/Linux from years earlier. Then there was the malware. Backwards compatibility revived some from the ancient days of the web.

Now, the strip-teases is almost over. It looks like they will charge top-dollar for a service pack to Vista without a neat upgrade path from XP, the world’s most common OS.

Some will pay. They feel they cannot use their PCs without M$’s help. So helpless are they that they equate IT with M$. Others are more alert and have already figured out that they have been charmed by a snake. They have checked out GNU/Linux by the millions and will be adopting GNU/Linux rather than going with Vista II. Interestingly, wide adoption of GNU/Linux will scarcely bother M$’s bottom line, now that they are charging for service packs and the locked-in have agreed to remain locked-in. M$ can charge these folks whatever M$ wants. They will continue to pay.

The malware aretists are loving this. They can continue to target a single OS and reap huge rewards for years to come. The rest of us will be free for many years. It is all good.

- Robert Pogson

Death Over the Atlantic

Normally, I stick to information technology in this blog but I have flown hundreds of thousands of miles in my life  in many kinds of planes and a helicopter so I have intense feeling about air travel.

The destruction of the plane of Air France over the Atlantic a couple of weeks ago is a great tragedy for all involved but it is also a great failure of mechanical technology. Like many such disasters, it likely involved an improbable combination of failures that took the plane outside the cone of survivability. A recent article, ”
Intact tail fin offers clue to Air France crash
” seems to have pegged one of the critical points of failure, over-stressing the tail fin. There have been several crashes involving similar failures but this article points out that a combination of assaults can still bring down planes.

Normally, planes are designed to fly in a smooth stream of air and the rudder is just part of the drag the tail provides to keep the plane going nose-forward. In a cross-wind landing, the rudder might be used to offset a turn of a few degrees from nose-on. Pilots practise many hours getting the feel of their planes countering such effects automatically. It seem likely, that in the turbulence of a storm over the Atlantic, the rudder may have been applied inappropriately breaking the tail fin off. Without that drag and stabilization, the fuselage may have broken apart by turning normal drag into a component of 500 mph cross-wind. The fuselage is strong and light, like an egg shell. As long as forces are distributed uniformly/smoothly, it stays together, but when turned too far from nose-forward it can collapse and tear apart. The distribution of tail fin, bodies, and other debris suggests this is what caused the plane to break up.

The layers of failures that got the plane into this situation still remain unknown but trying to punch through a storm instead of going around may have been the first. Radar can spot precipitation but not winds (except Doppler radar) and the crew may have bitten off more than they could chew. The storm reached far above flight level and was part of a chain so punching through may have seemed like the best strategy with the information available. Uncertainty about the reliability of the air-speed sensors (pitot tubes) may have been a factor, killing computer control in the face of conflicting information but computers had been tasked with limiting stress on the rudder…

Let us hope the black boxes are found to provide sufficient information to describe the behaviours of the equipment and the air with greater certainty. Let us hope this teaches humanity some lessons to prevent future failures. It seems past tragedies were not enough. While the media have made the assumption that people died promptly, it is quite likely that many died a horrible death being mutiliated by strong aerodynamic forces on pieces of fuselage or falling over a minute from high altitude in darkness. We should take no comfort from fuzzy ideas of a quick death during the destruction of a plane. We must resolve to prevent such tragedies in the future.

I know automobiles kill and maim far more than planes but planes have a unique ability to allow one to contemplate imminent death. It has been a recurring nightmare in my life. Now that I travel less, I hope that I will never be in a situation like that. My sympathies are with people who fly.

UPDATE 2009-07-02

A preliminary report as reported in the news media gives some semi-solid information:

  • based on study of debris the BEA is leaning to the conclusion that the plane broke up on a belly-flop in the sea
  • the BEA was unable to access autopsies done by Brazil
  • Senegal and Brazil give contradictory accounts of the handoff  by ATC.

The first conclusion seems off-base to me. If the plane flopped, there should have been a few survivors. No life preservers were deployed. What happened to the half-load of fuel that would have been on board? Why were bodies scattered over 50 miles a few hous after the crash?

One of the clues was damage to the shelves in the galley. If the galley had separated at altitude and fallen in that orientation at impact, would not the shelves have had the same damage?

We need more explanation. This sounds like an imcomplete report or a report based on incomplete data. We shall see as more comes out.

see

Reading the actual report does install some cnfidence that they are doing the best they can with the information available but it does have some shocking detailes:

  • news reports supporting the idea of a high-altitude breakup said the victims were found naked. The report says the victims were found clothed.
  • it was many days before victims or wreckage were found. The circle of debris was many kilometers in diameter.
  • the crash happened near the boundaries of ATC regions so it was many hours before an incident was declared.
  • impact was in a normal flight line but on the belly. Did the plane lose altitude information and fly into the ocean?
  • automatic signals indicated the engines may have been set to idle…
  • other planes sent radio messages about diverting a few kilometers to get around storms just before and after the crashing flight. These folks did not.

This is absolutely wierd. Did the plane have a stall at low altitude? Were they trying to ditch? Did they dive to recover from decompression but overdo it? How did they drop thousands of feet and not have time for an SOS? Why did they not find the black boxes?

This is a huge mystery folks. Does it have to happen again before it can be figured out? If the plane belly-flopped, will a large enough piece be down there to be spotted on high resolution sonar? How could the circle of debris be sol large so quickly if the breakup was on impact?

- Robert Pogson

Desperation

Desperation is  the tone of the evolving strip-tease that is 7. M$ has announced that they intend to lock down the desktop background on the version of their OS for netbooks. HAHAHAHA! The hackers will have another high-visibility target.

It is so sad to see M$ and the world waste time on this garbage. I make sure to see my desktops are fully configurable and enjoy with my students the intricate backgrounds they come up with. Sometimes they are original art, a photograph or an image from the web. How cheap/flimsy/worthless will the default netbook install feel to them. They can just buy one with GNU/Linux to escape to freedom rather than shelling out big bucks for another offereing from M$.

This will be the point where M$ finally competes on price and quality and loses badly. The customers will see folks walking around with FLOSS desktops of beauty when M$ comes only in bland stuff.

Is it Canute commanding the sea to roll back? Is it an attempt to freeze the market? Is it an attempt to get OEMs to put something more expensive on the market? Perhaps it is all of the above but it certainly is a depserate measure that shows they wear no clothes.

- Robert Pogson

Son of a Geek! or “too many iterations in nv_nic_irq”

My son is a computer geek like me. He was a slow starter. He did not get into it until he was a teenager but he has an annoying habit of doing things before I do, reminding me all the time that I am slowing down…

He was the first in our family:

  • to build a PC from OTS parts,
  • to use a 3gHz CPU,
  • to use more than four hard drives in a box,
  • to use multi-core CPU, and
  • to use dual socket motherboard.

Of course, I am proud of him but it still bugs the geek in me that I cannot stay ahead of him.

However, there is occasional joy in my family relations, like when, a few times a year, he writes, “Dad, how do you…?”. Hah! I am still useful!

Last week, after I returned from the annual teaching battle, my son said, “Dad, I am getting this weird message and Google does not help…”.

too many iterations (6) in nv_nic_irq

Lo, it was a problem using the forcedeth driver that I had encountered and overcome two years ago. I gave him hints that worked promptly to end an annoying instability in a server running GNU/Linux. Apparently, the information that I found to solve the problem was no longer on the web so we will document it here.

The problem is that forcedeth.c which is a reverse-engineered driver for an Nvidia NIC has a problem dismissing an interrupt, that is, clearing the interrupt flag so that the CPU promptly interrupts again when the driver returns control. To slow down this tight loop the authour put in a timeout which wreaks havoc in some production systems. There are parameters that can be configured to control the interrupt behaviour.

Here is the code.

* Known bugs:
* We suspect that on some hardware no TX done interrupts are generated.
* This means recovery from netif_stop_queue only happens if the hw timer
* interrupt fires (100 times/second, configurable with NVREG_POLL_DEFAULT)
* and the timer is active in the IRQMask, or if a rx packet arrives by chance.
* If your hardware reliably generates tx done interrupts, then you can remove
* DEV_NEED_TIMERIRQ from the driver_data flags.
* DEV_NEED_TIMERIRQ will not harm you on sane hardware, only generating a few
* superfluous timer interrupts from the nic.

/*
* Maximum number of loops until we assume that a bit in the irq mask
* is stuck. Overridable with module param.
*/
static int max_interrupt_work = 5;

/*
* Optimization can be either throuput mode or cpu mode
*
* Throughput Mode: Every tx and rx packet will generate an interrupt.
* CPU Mode: Interrupts are controlled by a timer.
*/
#define NV_OPTIMIZATION_MODE_THROUGHPUT 0
#define NV_OPTIMIZATION_MODE_CPU        1
static int optimization_mode = NV_OPTIMIZATION_MODE_THROUGHPUT;

/*
* Poll interval for timer irq
*
* This interval determines how frequent an interrupt is generated.
* The is value is determined by [(time_in_micro_secs * 100) / (2^10)]
* Min = 0, and Max = 65535
*/
static int poll_interval = -1;

So, the usual recommendation is to bump up the parameter, max_interrupt_work. I found that did not work well because these machines are so fast. What value would be large enough? Trial and error improved things but it was still flakey. This was on a machine with 8 processors. We could easily afford to poll the device to service the NIC…

We set

options forcedeth optimization_mode=1  poll_interval=100

in /etc/modprobe.d/options followed by rmmod  forcedeth; modprobe forcedeth  and everything was sweetness and light. No more freezes or crashes serving files at gigabit/s speeds.

How cool is it that old Dad could steer a young man towards the answer to a geeky problem in seconds?

- Robert Pogson

Evolution

The dinosaurs were big. They were at the top of several food chains. Then things changed. The dinosaurs could not change fast enough and are no more.

That is happening with software. No longer do the big boys call the shots. They try, but are embarrassed when the little guys, scurrying around down below, ignore demands.

M$, for instance, ignored the Internet for years until it became sufficiently important. They ignored GNU/Linux, too. Now, the web is evolving and they are desperately trying to change but they have too much baggage. Look what Google is doing. They are not afraid to change and will thrive. This looks like light is about to enter the box M$ has closed around itself.

Any one of Google’s new technologies is a threat to M$’s monopoly. Together, they are a hurricane reshaping the landscape forever. M$’s response is to install servers and to release yet another service pack to Vista. They took six years to release a new version of their old software, complete with backwards compatibility with old bugs. Google has spent a couple of years preparing for Web 2.0 and they will catch the wave this year coming out of the economic recovery.  The difference? FLOSS works.

- Robert Pogson

ACER?

While ASUS says that other OS is best, ACER merely recommends it. I am not sure what the difference is but ASUS sounds like a sell-out to me while ACER seems to be reflecting the comfort zone of people.

It is easy to find GNU/Linux on ACER’s site if you look for the 8.9inch netbook. News out of Taipei  is that

“Acer is in the process of putting Moblin in the range of its products,” said R.C. Chang, chief technology officer at Acer, at a news conference in Taipei. Acer products that will soon run with Moblin Linux include Aspire One nettops, as well as regular laptop and desktop PCs, he said.

ACER may be just hedging bets but is seems a more friendly way to do that than what ASUS did. ACER is selling like hotcakes and is eating Dell’s lunch. ACER is seriously into supplying netbooks to ISPs.

see this article

- Robert Pogson

Go ARM, GO!

ARM processors on netbooks will be hot this year and next. We can fight the Wintel monopoly/treadmill by seeking and buying ARM-based products.

ARM is a RISC processor which avoids the need for microcode and parallel processing over many clock ticks to get things done with less energy expenditure. This is a huge advantage with battery-operated netbooks. Wintel can innovate to compete on this performance measure but they cannot compete on prices and keep the cash-cow flowing. ARM processors have many times fewer transistors per chip making smaller chips, sockets and motherboards feasible.

The conspiracy between ASUS and M$ makes support for ARM more critical. ARM could take back this market which could be lost through marketing ploys and taking away consumer choice. By the time the courts rule on any anti-competitive acts involved, the market will be permanently damaged. Intel has nothing that can take the place of ARM and M$ does not run XP/Vista or 7 on ARM processors.

see
Companies to show 5 or 6 ARM netbooks at show

UPDATE

Believe it or not, after ASUS has commenced claiming things are better with that other OS, THEY ARE PRODUCING AN eeePC WITH ARM!!!???

Talk about mixed messages. ASUS are becoming like DELL, hedging so many bets no one knows where they are headed. Either I am confused or ASUS is. I have always believed that clarity in communication was important for business. Have they laid off the clear communicators?

- Robert Pogson



Archives by Month

My Mission

My observations and opinions about IT are based on 40 years of use in science and technology and lately, in education. I like IT that is fast, cost-effective and reliable. I do not care whether my solution is the same as yours. I like to think for myself.

My first use of GNU/Linux in 2001 was so remarkably better than what I had been using, I feel it is important work to share GNU/Linux with the world. I have been blessed by working in schools where students and school systems have benefited by good, modular software easily installed in most systems.

I have shown GNU/Linux to thousands of students and hundreds of teachers over the years and will continue in some way doing that until I die in spite of the opposition.

Posts

June 2009
S M T W T F S
« May   Jul »
 123456
78910111213
14151617181920
21222324252627
282930  

    Writing

    2177 articles
    17427 comments

      Comments

      platforms
      windows 8653
      linux 8543
      macos 96
      wp 2
      sun 0

      browsers
      firefox 12265 
      safari 5569 
      chrome 5532 
      ie 3519 
      iceweasel 1570 
      opera 1423 
      konqueror 189 
      flock 0 
      lynx 0 
      bonecho 0 
      epiphany 0 
      netnewswire 0