diff options
author | Andrew Morton <akpm@osdl.org> | 2006-09-25 23:32:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 08:48:58 -0700 |
commit | ab954160350c91c77ae03740ef90458c3ad5412c (patch) | |
tree | 28f99d765c2c6d497a1f5543b1867875cd6102a5 /scripts/kernel-doc | |
parent | 3a4f7577c9ef393ca80c783f02ffbc125de771c7 (diff) | |
download | kernel_samsung_smdk4412-ab954160350c91c77ae03740ef90458c3ad5412c.zip kernel_samsung_smdk4412-ab954160350c91c77ae03740ef90458c3ad5412c.tar.gz kernel_samsung_smdk4412-ab954160350c91c77ae03740ef90458c3ad5412c.tar.bz2 |
[PATCH] swsusp: write speedup
Switch the swsusp writeout code from 4k-at-a-time to 4MB-at-a-time.
Crufty old PIII testbox:
12.9 MB/s -> 20.9 MB/s
Sony Vaio:
14.7 MB/s -> 26.5 MB/s
The implementation is crude. A better one would use larger BIOs, but wouldn't
gain any performance.
The memcpys will be mostly pipelined with the IO and basically come for free.
The ENOMEM path has not been tested. It should be.
Cc: Pavel Machek <pavel@ucw.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions