** Also affects: linux-aws (Ubuntu Disco)
Importance: Undecided
Status: New
** Changed in: linux-aws (Ubuntu Disco)
Importance: Undecided => High
** Changed in: linux-aws (Ubuntu Disco)
Assignee: (unassigned) => Andrea Righi (arighi)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1858618
Title:
linux-aws: swapoff optimization
Status in linux-aws package in Ubuntu:
New
Status in linux-aws source package in Bionic:
Fix Committed
Status in linux-aws source package in Disco:
New
Bug description:
[Impact]
When an instance in the AWS EC2 infrastructure is successfully
hibernated and resumed we want to deactivate the swap file as fast as
possible in order to make the instance available again for the user.
By default the kernel doesn't really optimize swapoff performance, it
tries to keep the whole system still usable and responsive while
swapoff is running.
However, in our specific use case, swapoff needs to complete as fast
as possible, so we may want to give swapoff I/O a higher priority and
use different heuristics in order to optimize the I/O and page
readahead generated by swapoff.
[Test Case]
Run the hibernation test on the AWS EC2 instances.
[Fix]
Apply a more aggressive swapin readahead policy that allows to improve
swapoff performance.
[Regression Potential]
Minimal, this change is only affecting the swapoff-related code and it
has been tested extensively with positive test results. The only
downside is that this different heuristic makes the system more
unresponsive during swapoff, but this is not a problem in the AWS
scenario, because (by explicit requirement) the user shouldn't be able
to use the instance during this swapoff phase.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-aws/+bug/1858618/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp