All of lore.kernel.org
 help / color / mirror / Atom feed
* Transparent huge pages and shmem?
@ 2012-01-23  5:32 Borzenkov, Andrey
  2012-01-23 19:38   ` Hugh Dickins
  0 siblings, 1 reply; 3+ messages in thread
From: Borzenkov, Andrey @ 2012-01-23  5:32 UTC (permalink / raw)
  To: linux-kernel

In case of THP enabled kernel - will THP be used for SysV shmem? The obvious target is to avoid pre-allocation of huge pages pool for databases like Oracle that is required today.

Thank you!


---
With best regards

Andrey Borzenkov
Senior system engineer
Service operations


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

* Re: Transparent huge pages and shmem?
  2012-01-23  5:32 Transparent huge pages and shmem? Borzenkov, Andrey
@ 2012-01-23 19:38   ` Hugh Dickins
  0 siblings, 0 replies; 3+ messages in thread
From: Hugh Dickins @ 2012-01-23 19:38 UTC (permalink / raw)
  To: Borzenkov, Andrey; +Cc: linux-kernel, linux-mm

On Mon, 23 Jan 2012, Borzenkov, Andrey wrote:

> In case of THP enabled kernel - will THP be used for SysV shmem?
> The obvious target is to avoid pre-allocation of huge pages pool
> for databases like Oracle that is required today.

It will one day, yes.  Various people are very interested in THP on
tmpfs/shmem, which serves SysV shm.  But at present THP is limited to
private anonymous pages, and its extension to shared file pages is not
trivial.  I have not heard of anyone making significant progress on
that as yet - but perhaps someone is working on it behind the scenes.

Hugh

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

* Re: Transparent huge pages and shmem?
@ 2012-01-23 19:38   ` Hugh Dickins
  0 siblings, 0 replies; 3+ messages in thread
From: Hugh Dickins @ 2012-01-23 19:38 UTC (permalink / raw)
  To: Borzenkov, Andrey; +Cc: linux-kernel, linux-mm

On Mon, 23 Jan 2012, Borzenkov, Andrey wrote:

> In case of THP enabled kernel - will THP be used for SysV shmem?
> The obvious target is to avoid pre-allocation of huge pages pool
> for databases like Oracle that is required today.

It will one day, yes.  Various people are very interested in THP on
tmpfs/shmem, which serves SysV shm.  But at present THP is limited to
private anonymous pages, and its extension to shared file pages is not
trivial.  I have not heard of anyone making significant progress on
that as yet - but perhaps someone is working on it behind the scenes.

Hugh

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2012-01-23 19:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-23  5:32 Transparent huge pages and shmem? Borzenkov, Andrey
2012-01-23 19:38 ` Hugh Dickins
2012-01-23 19:38   ` Hugh Dickins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.