Re: [PATCH] Btrfs: incremental send, apply asynchronous page cache readahead

2017-09-15 Thread peterh
Much appreciate your suggestion. I've modified the patch based on your advice and sent out a new patch with new subject "Btrfs: send, apply asynchronous page cache readahead to enhance page read". Filipe Manana 於 2017-09-13 18:45 寫到: On Wed, Sep 13, 2017 at 7:38 AM, peter

[PATCH] Btrfs: send, apply asynchronous page cache readahead to enhance page read

2017-09-15 Thread peterh
From: Kuanling Huang By analyzing the perf on btrfs send, we found it take large amount of cpu time on page_cache_sync_readahead. This effort can be reduced after switching to asynchronous one. Overall performance gain on HDD and SSD were 9 and 15 percent if simply send a large file. Signed-off-

Re: [PATCH] Btrfs: incremental send, apply asynchronous page cache readahead

2017-09-13 Thread peterh
Hi Pasi Sorry for missing the word. 9 and 15 percent performance gain on HDD and SSD after the patch is applied. Kuanling Pasi Kärkkäinen 於 2017-09-13 17:33 寫到: Hi, On Wed, Sep 13, 2017 at 02:38:49PM +0800, peterh wrote: From: Kuanling Huang By analyzing the perf on btrfs send, we found

[PATCH] Btrfs: incremental send, apply asynchronous page cache readahead

2017-09-12 Thread peterh
From: Kuanling Huang By analyzing the perf on btrfs send, we found it take large amount of cpu time on page_cache_sync_readahead. This effort can be reduced after switching to asynchronous one. Overall performance gain on HDD and SSD were 9 and 15 respectively if simply send a large file. Signed