On Mon, 2008-02-18 at 10:40 -0500, Pedro Espinoza wrote: > Hi Listers: > > The program appended below takes almost 9 minutes on RHEL 5, RHEL5.1, > latest RHEL 4, Centos5.1. However, the same program takes 2m 15 > seconds on OPensuse 10.2 (2.6.18.8 kernel), and on Fedora 8. The box > has 4 dual-core xeon processors, and with 8 GB memory.
I was not successful in reproducing your results. You didn't say the speed of the processors but dual-core would seem to imply multi-GHz so I ran on a cross-section of Intel processors based systems with RHEL4/RHEL5 distros that I had available. The results were pretty consistent. Non dual-core Pentium 4 systems from 3+ years ago turned in times in the upper end of the two minute range while newer systems actually came in slightly under 2 minutes. I even managed to sneak in a 64-bit RHEL5.1 system and a virtual machine running on VMware ESX for good measure. Not sure what you are seeing but maybe some strange interaction between the RHEL kernels and your hardware. Perhaps you could enlighten us a little more on the hardware itself. Here are my results: Dell D820 Laptop - Core Duo T2500, 2GHz, 1.5GB, CentOS 5.1 32bit $ time ./sorttest 20 real 1m48.319s user 1m46.238s sys 0m1.383s Dell 2950 - (2)Dual-core Xeon 5130, 2Ghz, 6GB RAM, RHEL 5.1 64bit $ time ./sorttest 20 real 1m37.970s user 1m36.486s sys 0m0.838s Dell 6850 - (4)Dual-core Xeon, 3Ghz, 16GB RAM, RHEL 4.6 32bit $ time ./sorttest 20 real 2m30.838s user 2m29.109s sys 0m1.687s IBM HS20 Blade - (2)Pentium4 Xeon 3.06GHz w/HT, 8GB RAM, RHEL 4.6 32bit $ time ./sorttest 20 real 2m53.267s user 2m46.145s sys 0m1.538s Host - IBM x336 Server - (2)Pentium4 Xeon 3.2GHz w/HT, 8GB RAM, VMware ESX 3.5 Virtual Machine - Dual CPU, 2GB RAM, RHEL 5.1 32bit $ time ./sorttest 20 real 2m19.206s user 2m6.960s sys 0m8.319s Later, Tom _______________________________________________ rhelv5-list mailing list rhelv5-list@redhat.com https://www.redhat.com/mailman/listinfo/rhelv5-list