| # Copyright 2016 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| # |
| |
| on property:sys.boot_completed=1 |
| # Adjust cpusets in container to better split work between |
| # little and big cores. |
| write /dev/cpuset/foreground/cpus 0-3 |
| write /dev/cpuset/foreground/boost/cpus 2-3 |
| write /dev/cpuset/background/cpus 0 |
| write /dev/cpuset/system-background/cpus 0-1 |
| write /dev/cpuset/restricted/cpus 0 |
| write /dev/cpuset/top-app/cpus 0-3 |