|
[Sponsors] |
November 6, 2007, 13:57 |
I thought I might mention this
|
#1 |
Guest
Posts: n/a
|
I thought I might mention this here. The Linux kernel since 2.6.12 has implemented as security enhancement called Address Space Layout Randomization (see http://en.wikipedia.org/wiki/Address..._randomization for a description). This basically randomizes the address locations that it loads code, data, and stack memory. This has the unwanted side effect of increasing the number of page directories for memory management and thus reducing processor TLB hits (Refer to the second half of section 6.2.4 here http://lwn.net/Articles/254982/ ).
Now for the performance tweak. You can disable ASLR by adding the kernel boot parameter norandmaps . This does make your system theoretically less secure however if you have your system on a relatively safe network you may judge it to be worth doing. I haven't benchmarked any OpenFOAM runs with this yet. I did benchmark 5 kernel compiles with and with out it and had a consistent 0.25% speed increase. Considering the amount of memory that OpenFOAM uses with large cases I would expect that this speed increase would be higher. Try it and see |
|
November 6, 2007, 19:54 |
Update: I did a benchmark done
|
#2 |
Guest
Posts: n/a
|
Update: I did a benchmark done with the tutorial channelOodles case.
with ASLR it took 110 minutes and 38 seconds. with ASLR disabled it took 109 minutes and 55 seconds. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cygwin vs Native Linux performance | vtk_fan | OpenFOAM Running, Solving & CFD | 0 | February 4, 2008 13:22 |
Minor bug in CrankNicholsonDdtScheme | henry | OpenFOAM Bugs | 5 | May 22, 2007 12:52 |
Linux Cluster Performance with a bi-processor PC | M. | FLUENT | 1 | April 22, 2005 10:25 |
Performance of fluent on win200 and linux | Seb | FLUENT | 7 | February 5, 2004 16:08 |