Messages in this thread | | | Date | Mon, 28 Aug 2000 18:35:22 -0700 | From | Linda Walsh <> | Subject | Re: Suggestion for laptop suspension |
| |
You might want to reread what I previously wrote. Is there any reason to think that your program is doing anything other than forcing all dirty buffers out to disk?
Stephen Rothwell wrote:
> > Just to try something, could you please take the program below and change > the 172 to be about 15-20 less that then number of MB of physical RAM > you have, then compile and run it and then try to suspend to disk > and see how long it takes. On my Thinkpad 600E, it changes the time > to suspend from ~30 seconds to < 10 seconds. > > unsigned char arr[172*1024*1024]; > > main() > { > int i; > > for (i = 0; i < sizeof(arr); i += 4096) > arr[i] = 0; > } > ---------------------------------------------------------------------- > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > Please read the FAQ at http://www.tux.org/lkml/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |