switch from rhel6 to rhel7 , system become slow, perhaps memory issue

Latest response

Since I have switch form rhel 6 to rhel 7 , all system become slow.

My workstation is a bi xeon, 24 cores (12 hyperthreaded), with 78.4GiB of RAM.

I suspect first the memory because I launch a lot of applications and still when I launch free -m :

[bgy@localhost cmake-build-debug]$ free -m
              total        used        free      shared  buff/cache   available
Mem:          80320        8083       55796         254       16440       70939
Swap:          4095           5        4090

only 8083 is used.

I make a small program , just to view the limit of allocated / usable memory

#include <iostream>

void main()
{
    int* array = (int*)malloc(4L*15L*1000L*1000L*1000L);
    std::cout << "Hello world!" << std::endl;

    for(long long i = 0 ; i < 15L*1000L*1000L*1000L; i++) {
        array[i] = 1;
    }
    std::cout << array << std::endl;

    //delete[] array;
}

I could address all the memory , but the speed is really slow (1GB/ second) compared to the theorical bandwith (40GB/s).

I am in dual boot with windows , and it does not have such issue. So I suspect it come from the soft.

I also check the susbcription manager and my suscription is valid until 2020.

I do not know what test to do next.

Responses

Hi Benoit,

Did you perform an upgrade or a clean installation ? The performance of a freshly installed RHEL 7.5 system should not be much different to your experience regarding performance on a Windows system - maybe something went wrong during the installation process ?

Regards,
Christian

Upgrade is not available from rhel 6 to 7, so it is a clean installation.

The installation was done following default options. Only one part differs, I have two disk which are mounted as RAID1 , I use the recommanded partition. RHEL 7.5 in my case is much slower than RHEL 6. And It do not use the 78G of RAM available.

When I switch between application, I have a lag like it seem to use a swap somewhere. My little c program, show a rather slow memory (1GB/s to write a constant on 60GB of memory).

I have run sysbench , to test memory , seem fine

[bgy@localhost Downloads]$ sysbench memory run
sysbench 1.0.9 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Running memory speed test with the following options:
  block size: 1KiB
  total size: 102400MiB
  operation: write
  scope: global

Initializing worker threads...

Threads started!

Total operations: 32965007 (3295054.83 per second)

32192.39 MiB transferred (3217.83 MiB/sec)


General statistics:
    total time:                          10.0001s
    total number of events:              32965007

Latency (ms):
         min:                                  0.00
         avg:                                  0.00
         max:                                  1.01
         95th percentile:                      0.00
         sum:                               4475.17

Threads fairness:
    events (avg/stddev):           32965007.0000/0.00
    execution time (avg/stddev):   4.4752/0.00

Because I am using a lot of instances of CLion, I will investigate if it is this application that caps on 8GB .

I think the main issue, was with my Application CLion who caps memory usable. Since I change the settings, it seem to work fine.

Thanks.

Hi Benoit,

Thanks for your updated information, I'm glad that your system generally works as expected now ! :)

Regards,
Christian

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.