linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM ATTEND] Other tracks I'm interested in (was Re: Persistent memory)
@ 2014-01-28 17:30 Andy Lutomirski
  2014-01-29 10:16 ` [Lsf-pc] " Mel Gorman
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Lutomirski @ 2014-01-28 17:30 UTC (permalink / raw)
  To: Linux FS Devel, lsf-pc, linux-mm@kvack.org

On Thu, Jan 16, 2014 at 4:56 PM, Andy Lutomirski <luto@amacapital.net> wrote:
> I'm interested in a persistent memory track.  There seems to be plenty
> of other emails about this, but here's my take:

I should add that I'm also interested in topics relating to the
performance of mm and page cache under various abusive workloads.
These include database-like things and large amounts of locked memory.

I'm not particularly qualified as a developer for page cache in
general, but I can certainly bang on things and run software that
tends to abuse systems.

If anyone wants to discuss working on mmap_sem contention or why
systems go out to lunch when a lot of memory is quickly dirtied, I'd
be very interested.

--Andy

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: [Lsf-pc] [LSF/MM ATTEND] Other tracks I'm interested in (was Re: Persistent memory)
  2014-01-28 17:30 [LSF/MM ATTEND] Other tracks I'm interested in (was Re: Persistent memory) Andy Lutomirski
@ 2014-01-29 10:16 ` Mel Gorman
  2014-01-29 20:07   ` Andy Lutomirski
  0 siblings, 1 reply; 3+ messages in thread
From: Mel Gorman @ 2014-01-29 10:16 UTC (permalink / raw)
  To: Andy Lutomirski; +Cc: Linux FS Devel, lsf-pc, linux-mm@kvack.org

On Tue, Jan 28, 2014 at 09:30:25AM -0800, Andy Lutomirski wrote:
> On Thu, Jan 16, 2014 at 4:56 PM, Andy Lutomirski <luto@amacapital.net> wrote:
> > I'm interested in a persistent memory track.  There seems to be plenty
> > of other emails about this, but here's my take:
> 
> I should add that I'm also interested in topics relating to the
> performance of mm and page cache under various abusive workloads.
> These include database-like things and large amounts of locked memory.
> 

Out of curiousity, is there any data available on this against a recent
kernel? Locked memory should not cause the kernel to go to hell as the
pages should end up on the unevictable LRU list. If that is not happening,
it could be a bug. More details on the database configuration and test
case would also be welcome as it would help establish if the problem is
a large amount of memory being dirtied and then an fsync destroying the
world or something else.

-- 
Mel Gorman
SUSE Labs

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: [Lsf-pc] [LSF/MM ATTEND] Other tracks I'm interested in (was Re: Persistent memory)
  2014-01-29 10:16 ` [Lsf-pc] " Mel Gorman
@ 2014-01-29 20:07   ` Andy Lutomirski
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Lutomirski @ 2014-01-29 20:07 UTC (permalink / raw)
  To: Mel Gorman; +Cc: Linux FS Devel, lsf-pc, linux-mm@kvack.org

On Wed, Jan 29, 2014 at 2:16 AM, Mel Gorman <mgorman@suse.de> wrote:
> On Tue, Jan 28, 2014 at 09:30:25AM -0800, Andy Lutomirski wrote:
>> On Thu, Jan 16, 2014 at 4:56 PM, Andy Lutomirski <luto@amacapital.net> wrote:
>> > I'm interested in a persistent memory track.  There seems to be plenty
>> > of other emails about this, but here's my take:
>>
>> I should add that I'm also interested in topics relating to the
>> performance of mm and page cache under various abusive workloads.
>> These include database-like things and large amounts of locked memory.
>>
>
> Out of curiousity, is there any data available on this against a recent
> kernel? Locked memory should not cause the kernel to go to hell as the
> pages should end up on the unevictable LRU list. If that is not happening,
> it could be a bug. More details on the database configuration and test
> case would also be welcome as it would help establish if the problem is
> a large amount of memory being dirtied and then an fsync destroying the
> world or something else.
>

On (IIRC) 3.5, this stuff worked very poorly.  On 3.9, with a lot of
extra memory in the system, I seem to do okay.  I'm planning on trying
3.13 with a more moderate amount of memory soon.

On 3.11, with normal amounts of memory, something is still not so
good.  I'm seeing this on development boxes, so it may be
filesystem-dependent.

The performance things I actually care about lately are more in the
category of getting decent page-fault performance on locked pages.
Even better would be no page faults at all, but that may be a large
project.

The database in question is a proprietary thing (which I hope to
open-source some day) that creates and fallocates 10-20MB files,
mlocks them, reads a byte from every page to prefault them, then
writes them once, reads them quite a few times, and, after a while,
reads them one last time and deletes them.  At any given time, there
are a couple GB of these files open and mlocked.  Performance seems to
be okay (modulo page faults) once everything is up and running, but,
at startup, the system can go out to lunch for a while.

On a completely different workload (Mozilla Thunderbird's "Compact
Now" button on btrfs), something certainly still destroys the world.
I suspect that complaining about pathological cases in btrfs will get
me nowhere, though... :-/.

--Andy

> --
> Mel Gorman
> SUSE Labs



-- 
Andy Lutomirski
AMA Capital Management, LLC

--
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/ .
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:[~2014-01-29 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28 17:30 [LSF/MM ATTEND] Other tracks I'm interested in (was Re: Persistent memory) Andy Lutomirski
2014-01-29 10:16 ` [Lsf-pc] " Mel Gorman
2014-01-29 20:07   ` Andy Lutomirski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).