mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 3TB memory and high system load 80%+
@ 2015-03-13 16:26 jesper
  2015-03-13 16:38 ` jesper
  0 siblings, 1 reply; 2+ messages in thread
From: jesper @ 2015-03-13 16:26 UTC (permalink / raw)
  To: linux-kernel

Hi.

We have severe issues getting a Intel(R) Xeon(R) CPU E7-8857 v2 @ 3.00GHz
48 cores server to perform nice.

We have just setup a new server for a PostgreSQL database with 3TB of
memory, primarily for disk-io-caching. The server is running Ubuntu 12.04
on kernel 3.13.0-43-generic. The only change is that we have:

echo never > /sys/kernel/mm/transparent_hugepage/enabled

We have "system load spikes" on it. So it occationally are peaking at 80-90%
system load for minutes and then migrating back to "normal". When it happens
all other activity suffers.

Before disabling hugepages, the system pretty much went to a complete
stall when memory pressure occoured.

sar reports
13:05:01        CPU     %user     %nice   %system   %iowait    %steal    
%idle
16:25:01        all     11.20      0.00      2.11      3.75      0.00    
82.94
16:30:01        all     12.55      0.00      2.67      3.63      0.00    
81.15
16:35:01        all     12.24      0.00      3.68      3.61      0.00    
80.47
16:40:01        all     11.74      0.00      2.31      3.46      0.00    
82.48
16:45:01        all     15.12      0.00      4.31      3.85      0.00    
76.71
16:50:01        all     43.04      0.00      8.89      5.24      0.00    
42.82
16:55:01        all     46.14      0.00     13.53      5.29      0.00    
35.03
17:05:01        all     27.24      0.00     40.16      3.77      0.00    
28.83
17:10:01        all     17.24      0.00     57.76      2.68      0.00    
22.32
17:15:01        all     44.89      0.00     11.14      4.44      0.00    
39.53
17:20:03        all     29.73      0.00     33.77      3.99      0.00    
32.51

In above workload it is "only" running pg_dump and pg_restore with 2
instances of postgresql running. No network/nfs/etc at the same time and
not more than 48 processes active at the same time.

Any suggestions/ideas for how/what to improve are greatly welcome. Both in
terms of tunables and potential fixes in kernels.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 3TB memory and high system load 80%+
  2015-03-13 16:26 3TB memory and high system load 80%+ jesper
@ 2015-03-13 16:38 ` jesper
  0 siblings, 0 replies; 2+ messages in thread
From: jesper @ 2015-03-13 16:38 UTC (permalink / raw)
  To: jesper; +Cc: linux-kernel

> Hi.
>
> We have severe issues getting a Intel(R) Xeon(R) CPU E7-8857 v2 @ 3.00GHz
> 48 cores server to perform nice.

And report from /proc/meminfo for information.

MemTotal:       3170751320 kB
MemFree:        63618844 kB
Buffers:           86516 kB
Cached:         3008212376 kB
SwapCached:        10580 kB
Active:         1505073644 kB
Inactive:       1519315464 kB
Active(anon):   81790172 kB
Inactive(anon): 37529224 kB
Active(file):   1423283472 kB
Inactive(file): 1481786240 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:      25353212 kB
SwapFree:       25322920 kB
Dirty:            692516 kB
Writeback:         16240 kB
AnonPages:      16089320 kB
Mapped:         103249328 kB
Shmem:          103223396 kB
Slab:           56838096 kB
SReclaimable:   56180796 kB
SUnreclaim:       657300 kB
KernelStack:       11648 kB
PageTables:      6457128 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    1610728872 kB
Committed_AS:   125042076 kB
VmallocTotal:   34359738367 kB
VmallocUsed:     6623252 kB
VmallocChunk:   31937036164 kB
HardwareCorrupted:     0 kB
AnonHugePages:      8192 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      590528 kB
DirectMap2M:    117852160 kB
DirectMap1G:    3102736384 kB




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-13 16:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-13 16:26 3TB memory and high system load 80%+ jesper
2015-03-13 16:38 ` jesper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®