Public bug reported:

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://nl.archive.ubuntu.com intrepid-updates/restricted Packages
        500 http://security.ubuntu.com intrepid-security/restricted Packages
     2.6.27.7.11 0
        500 http://nl.archive.ubuntu.com intrepid/restricted Packages


Best regards,
Cedric

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: nvidia
Package: linux-image-2.6.27-11-generic 2.6.27-11.27
ProcCmdLine: root=UUID=99b86031-bd19-45b8-bafa-0aba92388bb7 ro quiet splash  
crashkernel=384M-2G:6...@16m,2G-:1...@16m
ProcEnviron:
 PATH=/home/User 
Name/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=nl_NL.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.27-11.27-generic
SourcePackage: linux

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
Hibernate flushes file caches (so afterwards my machine is slow)   
https://bugs.launchpad.net/bugs/334536
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to