Hibernate flushes file caches (so afterwards my machine is slow)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have a lot of RAM, 2GB. I also have a swappartition of 2.9GB. Now I start a large game. The entire game, fits in 2GB (1,5GB memory used, 580MB cached). After i shutdown the game, all the gamefiles are still cached (1GB memory used, 580MB cached), so when I start the game again, there's no HD activity, and my game starts extremely fast. The swappartition is completely empty, 0KB used.
Now I hibernate my PC. After resuming I see the following:
488MB memory used, 49MB cached, 340MB swap used.
This means hibernate has flushed my filecache. Even worse, it has placed stuff into the (slow) swappartition.
When I now start the game, everything has to be loading from HD, wich is slow.
In my opinion, hibernate should copy the complete memory to the swappartition, including cached files. Also, hibernate should not place files into the swappartition.
System info:
$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ apt-cache policy linux
linux:
Geïnstalleerd: (geen)
Kandidaat: 2.6.27.11.14
Versietabel:
2.6.27.11.14 0
500 http://
500 http://
2.6.27.7.11 0
500 http://
Best regards,
Cedric
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelMo
Package: linux-image-
ProcCmdLine: root=UUID=
ProcEnviron:
PATH=/home/User Name/bin:
LANG=nl_NL.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: linux
tags: | added: kernel-hibernate |
tags: | added: needs-kernel-logs |
tags: | added: needs-upstream-testing |
tags: | added: kj-triage |
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
Dmesg...