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0aW9ucywNCj4gUGhvbmU6 ICg5MSkgODAtNDE4MTk5OTkgRXh0bjogNTE0OA0KPiBNb2JpbGU6IDkxLTkzNDEwLTQyMDIyDQo+ ICANCj4gIA0KLS0gDQpNZWwgR29ybWFuDQpQYXJ0LXRpbWUgUGhkIFN0dWRlbnQgICAgICAgICAg ICAgICAgICAgICAgICAgIExpbnV4IFRlY2hub2xvZ3kgQ2VudGVyDQpVbml2ZXJzaXR5IG9mIExp bWVyaWNrICAgICAgICAgICAgICAgICAgICAgICAgIElCTSBEdWJsaW4gU29mdHdhcmUgTGFiDQoN Ci0tDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCAmIzM5O3Vuc3Vic2NyaWJl IGxpbnV4LW1tJiMzOTsgaW4NCnRoZSBib2R5IHRvIG1ham9yZG9tb0BrdmFjay5vcmcuICBGb3Ig bW9yZSBpbmZvIG9uIExpbnV4IE1NLA0Kc2VlOiBodHRwOi8vd3d3LmxpbnV4LW1tLm9yZy8gLg0K RG9uJiMzOTt0IGVtYWlsOiA8YSBocmVmPW1haWx0bzoiZG9udEBrdmFjay5vcmciPiBlbWFpbEBr dmFjay5vcmcgPC9hPg0KDQog
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 11 lines · NARAYANAN GOPALAKRISHNAN
Hi,
We are running on VFAT.
We are using iozone performance benchmarking tool (http://www.iozone.org/src/current/iozone3_326.tar) for testing.The parameters are
/iozone -A -s10M -e -U /tmp -f/tmp/iozone_fileOur block driver requires requests to be merged to get the best performance. This was not happening due to non-contiguous pages in all kernels >= 2.6.25.
Ok, by the looks of things, all the aio_read() requests are due to readahead as opposed to explicit AIO requests from userspace. In this case, nothing springs to mind that would avoid excessive requests for cold pages.
It looks like the simpliest solution is to go with the patch I posted. Does anyone see a better alternative that doesn't branch in rmqueue_bulk() or add back the hot/cold PCP lists?
Signature · 9 lines
Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 13 lines · On Mon, 22 Jun 2009 17:52:36 +0100 Mel Gorman <[email protected]> wrote:
Quoted 11 lines · NARAYANAN GOPALAKRISHNAN
Hi,
We are running on VFAT.
We are using iozone performance benchmarking tool (http://www.iozone.org/src/current/iozone3_326.tar) for testing.The parameters are
/iozone -A -s10M -e -U /tmp -f/tmp/iozone_fileOur block driver requires requests to be merged to get the best performance. This was not happening due to non-contiguous pages in all kernels >= 2.6.25.
Quoted 8 lines
Ok, by the looks of things, all the
aio_read()requests are due to readahead as opposed to explicit AIO requests from userspace. In this case, nothing springs to mind that would avoid excessive requests for cold pages.It looks like the simpliest solution is to go with the patch I posted. Does anyone see a better alternative that doesn't branch in
rmqueue_bulk()or add back the hot/cold PCP lists?
No objection. But 2 questions...
Review
Quoted 8 lines
(quoted diff) +4
-1- list_add(&page->lru, list); + if (likely(cold == 0)) + list_add(&page->lru, list); + else + list_add_tail(&page->lru, list); set_page_private(page, migratetype); list = &page->lru; }
1. if (likely(coild == 0))
"likely" is necessary ?
2. Why moving pointer "list" rather than following ?
if (cold) list_add(&page->lru, list); else list_add_tail(&page->lru, list);
Thanks,
-Kame
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 9 lines · KAMEZAWA Hiroyuki
Quoted 8 lines
Ok, by the looks of things, all the
aio_read()requests are due to readahead as opposed to explicit AIO requests from userspace. In this case, nothing springs to mind that would avoid excessive requests for cold pages.It looks like the simpliest solution is to go with the patch I posted. Does anyone see a better alternative that doesn't branch in
rmqueue_bulk()or add back the hot/cold PCP lists?No objection. But 2 questions...
Also no objections here. Readahead makes sense.
Quoted 2 lines
1. if (likely(coild == 0))
"likely" is necessary ?
Would not think so. Code is sufficiently compact so that the processor "readahead" will have both branches in cache.
Quoted 6 lines
2. Why moving pointer "list" rather than following ?
if (cold) list_add(&page->lru, list); else list_add_tail(&page->lru, list);
Not sure what your point is here. Can you pickup the patch fix it up and resubmit? Mel is out for now it seems.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 38 lines · KAMEZAWA Hiroyuki
Quoted 13 lines · On Mon, 22 Jun 2009 17:52:36 +0100 Mel Gorman <[email protected]> wrote:
Quoted 11 lines · NARAYANAN GOPALAKRISHNAN
Hi,
We are running on VFAT.
We are using iozone performance benchmarking tool (http://www.iozone.org/src/current/iozone3_326.tar) for testing.The parameters are
/iozone -A -s10M -e -U /tmp -f/tmp/iozone_fileOur block driver requires requests to be merged to get the best performance. This was not happening due to non-contiguous pages in all kernels >= 2.6.25.
Quoted 8 lines
Ok, by the looks of things, all the
aio_read()requests are due to readahead as opposed to explicit AIO requests from userspace. In this case, nothing springs to mind that would avoid excessive requests for cold pages.It looks like the simpliest solution is to go with the patch I posted. Does anyone see a better alternative that doesn't branch in
rmqueue_bulk()or add back the hot/cold PCP lists?No objection. But 2 questions...
Quoted 8 lines
- list_add(&page->lru, list);
+ if (likely(cold == 0))
+ list_add(&page->lru, list);
+ else
+ list_add_tail(&page->lru, list);
set_page_private(page, migratetype);
list =&page->lru;
}1. if (likely(coild == 0))
"likely" is necessary ?
Quoted 6 lines
2. Why moving pointer "list" rather than following ?
if (cold)
list_add(&page->lru, list);
else
list_add_tail(&page->lru, list);
I agree.
We can remove unnecessary list head moving forward.
Signature · 8 lines
Kinds regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 35 lines · KAMEZAWA Hiroyuki
Quoted 13 lines · On Mon, 22 Jun 2009 17:52:36 +0100 Mel Gorman <[email protected]> wrote:
Quoted 11 lines · NARAYANAN GOPALAKRISHNAN
Hi,
We are running on VFAT.
We are using iozone performance benchmarking tool (http://www.iozone.org/src/current/iozone3_326.tar) for testing.The parameters are
/iozone -A -s10M -e -U /tmp -f/tmp/iozone_fileOur block driver requires requests to be merged to get the best performance. This was not happening due to non-contiguous pages in all kernels >= 2.6.25.
Quoted 8 lines
Ok, by the looks of things, all the
aio_read()requests are due to readahead as opposed to explicit AIO requests from userspace. In this case, nothing springs to mind that would avoid excessive requests for cold pages.It looks like the simpliest solution is to go with the patch I posted. Does anyone see a better alternative that doesn't branch in
rmqueue_bulk()or add back the hot/cold PCP lists?No objection. But 2 questions...
Review
Quoted 8 lines
(quoted diff) +4
-1- list_add(&page->lru, list); + if (likely(cold == 0)) + list_add(&page->lru, list); + else + list_add_tail(&page->lru, list); set_page_private(page, migratetype); list = &page->lru; }
Quoted 3 lines
1. if (likely(coild == 0))
"likely" is necessary ?
Is likely/unlikely ever really necessary? The branch is small so maybe it doesn't matter but the expectation is that the !cold path is hotter and more commonly used. I can drop this is you like.
Quoted 7 lines
2. Why moving pointer "list" rather than following ?
if (cold) list_add(&page->lru, list); else list_add_tail(&page->lru, list);
So that the list head from the caller is at the beginning of the newly allocated contiguous pages. Lets say the free list looked something like
head -> 212 -> 200 -> 198
and then we add a few pages that are contiguous using list_add_tail
1 -> 2 -> 3 -> head -> 212 -> 200 -> 198
With this arrangement, we have to consume the existing pages before we get to the contiguous pages and the struct pages that were more recently accessed are further down the list so we potentially access a new cache line after returning so the struct page for PFN 212 is accessed. With the list head moving forward it, the returned list should look more like
head -> 1 -> 2 -> 3 -> 212 -> 200 -> 198
so we are accessing the contiguous pages first and a recently accessed struct page. This was the intention at least of the list head moving forward.
Signature · 9 lines
Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
RE: Performance degradation seen after using one list for hot/coldpages.
Hi,
We have done some stress testing using fsstress (LTP). This patch seems to work fine with our OMAP based targets. Can we have this merged?
Narayanan
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mel Gorman
Sent: Monday, June 29, 2009 2:46 PM
To: KAMEZAWA Hiroyuki
Cc: NARAYANAN GOPALAKRISHNAN; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: Performance degradation seen after using one list for hot/coldpages.
Quoted 4 lines · KAMEZAWA Hiroyuki
Quoted 1 line · On Mon, 22 Jun 2009 17:52:36 +0100 Mel Gorman <[email protected]> wrote:
On Mon, Jun 22, 2009 at 11:32:03AM +0000, NARAYANAN GOPALAKRISHNAN
Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
Hi,
We are running on VFAT.
We are using iozone performance benchmarking tool
(http://www.iozone.org/src/current/iozone3_326.tar) for testing.
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
The parameters are
/iozone -A -s10M -e -U /tmp -f/tmp/iozone_fileOur block driver requires requests to be merged to get the best
performance.
Quoted 1 line
Quoted 1 line
Quoted 1 line
This was not happening due to non-contiguous pages in all kernels >=
2.6.25.
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Ok, by the looks of things, all the
aio_read()requests are due to
readahead
Quoted 1 line
Quoted 1 line
as opposed to explicit AIO requests from userspace. In this case,
nothing
Quoted 4 lines
Quoted 4 lines
springs to mind that would avoid excessive requests for cold pages.
It looks like the simpliest solution is to go with the patch I posted. Does anyone see a better alternative that doesn't branch in
rmqueue_bulk()
Quoted 13 lines
Quoted 2 lines
or add back the hot/cold PCP lists?
No objection. But 2 questions...
Review
Quoted 8 lines
(quoted diff) +4
-1- list_add(&page->lru, list); + if (likely(cold == 0)) + list_add(&page->lru, list); + else + list_add_tail(&page->lru, list); set_page_private(page, migratetype); list = &page->lru; }
Quoted 3 lines
1. if (likely(coild == 0))
"likely" is necessary ?
Is likely/unlikely ever really necessary? The branch is small so maybe it doesn't matter but the expectation is that the !cold path is hotter and more commonly used. I can drop this is you like.
Quoted 7 lines
2. Why moving pointer "list" rather than following ?
if (cold) list_add(&page->lru, list); else list_add_tail(&page->lru, list);
So that the list head from the caller is at the beginning of the newly allocated contiguous pages. Lets say the free list looked something like
head -> 212 -> 200 -> 198
and then we add a few pages that are contiguous using list_add_tail
1 -> 2 -> 3 -> head -> 212 -> 200 -> 198
With this arrangement, we have to consume the existing pages before we get to
the contiguous pages and the struct pages that were more recently accessed are further down the list so we potentially access a new cache line after returning so the struct page for PFN 212 is accessed. With the list head moving forward it, the returned list should look more like
head -> 1 -> 2 -> 3 -> 212 -> 200 -> 198
so we are accessing the contiguous pages first and a recently accessed struct
page. This was the intention at least of the list head moving forward.
Signature · 15 lines
Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
RE: Performance degradation seen after using one list for hot/coldpages.
Quoted 3 lines · Narayanan Gopalakrishnan
We have done some stress testing using fsstress (LTP). This patch seems to work fine with our OMAP based targets. Can we have this merged?
Please post the patch that you tested. I am a bit confused due to topposting. There were several outstanding issues in the message you included.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: Performance degradation seen after using one list for hot/coldpages.
Quoted 10 lines · Christoph Lameter
Quoted 3 lines · Narayanan Gopalakrishnan
We have done some stress testing using fsstress (LTP). This patch seems to work fine with our OMAP based targets. Can we have this merged?
Please post the patch that you tested. I am a bit confused due to topposting. There were several outstanding issues in the message you included.
I know which patch he is on about, it's entitled "page-allocator: Preserve PFN ordering when __GFP_COLD is set". There are a number of patches that I don't believe have made it upstream or into mmotm but I've lost track of what is in flight and what isn't. When an mmotm against 2.6.31-rc2 is out, I'll be going through it again to see what made it in and resending patches as appropriate.
Signature · 9 lines
Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Andrew Morton
maintainerRe: Performance degradation seen after using one list for hot/coldpages.
Quoted 6 lines · On Wed, 8 Jul 2009 16:27:55 +0100 Mel Gorman <[email protected]> wrote:
There are a number of patches that
I don't believe have made it upstream or into mmotm but I've lost track of what is in flight and what isn't. When an mmotm against 2.6.31-rc2 is out, I'll be going through it again to see what made it in and resending patches as appropriate.
I appear to be stuck in the wrong country again and won't be very functional until next week, sorry. As usual, resending stuff doesn't hurt, especially when that stuff was buried in the middle of a long email trail under a quite different Subject:.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>