Re: Clarification needed reg Linux behaviour of Swap space and Swap activity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



query wrote:

> 1    Can there be any impact in performance as there is no swap
> activity .

No.

> Also , would like to know why swap space is getting
> consumed when there is no swap activity being taken place .

If a program has a large number of subsystems, many of these may
rarely be used, resulting in the associated memory getting swapped out
and remaining swapped out.

This is more common for interpreted languages, as they often read
and/or generate data in memory, whereas a compiled program would just
map the data from the executable or library.

This isn't really a problem, it just means that you need sufficient
swap space. Storing data in swap space doesn't impact performance if
it isn't being accessed.

> Is it a sign of application leaking memory.

Not necessarily.

> 2. Will disabling memory overcommit will help in improving memory usage .

No.

-- 
Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux