Linked by Thom Holwerda on Thu 4th Oct 2007 15:23 UTC, submitted by diegocg
General Development "Ulrich Drepper [the gnu libc project leader] recently approached us [LWN] asking if we would be interested in publishing a lengthy document he had written on how memory and software interact. Memory usage is often the determining factor in how software performs, but good information on how to avoid memory bottlenecks is hard to find. This article is the first in a serie of articles (the original has over 100 pages) that will get published on LWN weekly. Once the entire series is out, Ulrich will be releasing the full text."
Thread beginning with comment 276200
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Great Read
by gustl on Thu 4th Oct 2007 19:48 UTC in reply to "Great Read"
gustl
Member since:
2006-01-19

Definitely a great read!

I would like to mention, that assembler-coding makes you think about memory latencies and throughputs and processor cycles quite a lot.

I did not have much time assemblying lately, but learning it once provided me some insight about the difference between code performance and algorithm performance. As a rule of thumb: Try to get the best algorithm in c or f90 working before even considering reprogramming the time-critical subroutines in assembler.

Reply Parent Bookmark Score: 3

RE[2]: Great Read
by Doc Pain on Thu 4th Oct 2007 22:45 in reply to "RE: Great Read"
Doc Pain Member since:
2006-10-08

"As a rule of thumb: Try to get the best algorithm in c or f90 working before even considering reprogramming the time-critical subroutines in assembler."

Seems, thatt this rule is not very well known, because we have too much ressources these days: too fast CPUs, too much RAM, too big hard disks... who cares about efficient programming anyway? :-)

I really enjoyed the article. Very interesting content, presented in a educational valuable way. Worth having a printed copy on the system shelf.

Reply Parent Bookmark Score: 2