Comments (1)
My initial implementation idea is to have a pair of systemd units.
# ec2-nitro-clocksource.service
[Unit]
Description=Set Preferred Clock Source (Nitro)
DefaultDependencies=no
ConditionVirtualization=amazon
[Service]
Type=oneshot
ExecStart=/usr/bin/echo kvm-clock
RemainAfterExit=true
StandardOutput=file:/sys/devices/system/clocksource/clocksource0/current_clocksource
[Install]
WantedBy=sysinit.target
# ec2-xen-clocksource.service
[Unit]
Description=Set Preferred Clock Source (Xen)
DefaultDependencies=no
ConditionVirtualization=xen
ConditionCPUFeature=constant_tsc
[Service]
Type=oneshot
ExecStart=/usr/bin/echo tsc
RemainAfterExit=true
StandardOutput=file:/sys/devices/system/clocksource/clocksource0/current_clocksource
[Install]
WantedBy=sysinit.target
I need to make sure that the Xen unit does the right thing for the older instance types with an emulated TSC timer. Also, I believe the feature we actually want to test for is "invariant_tsc" or "nonstop_tsc" instead of just "constant_tsc", which may require a systemd patch.
from bottlerocket.
Related Issues (20)
- No Automatic DHCP on secondary `eth1` interface for `aws-ecs-2` variant HOT 1
- switch to predefined license for kmod-*-nvidia
- DCGM will not run on GPU nodes with Bottlerocket OS HOT 7
- v1.20.1 Go dependency updates
- Suggestion: Publish AWS AMIs using gp3 block devices as default HOT 2
- Question: how to use "kubectl debug node" with bottlerocket? HOT 6
- Remove metal and vmware k8s 1.26 variants by June 11 2024 HOT 1
- Remove metal and vmware k8s 1.27 variants by July 24 2024
- settings-committer fails if there are no pending changes HOT 1
- Unable to mount nfs persistent volume from pod running EKS bottlerockt node HOT 3
- v1.20.1 🐫 Tracking Issue HOT 3
- v1.20.2 🤘🏾 Tracking Issue HOT 1
- Publish AMI IDs for K8s with Nvidia support via public SSM parameters, just like other AMIs HOT 4
- core kit migration 🚧 tracking issue HOT 2
- Potential significant max network throughput performance regression HOT 3
- Create an interface for determining the release date of an update HOT 2
- Add the socat package to Bottlerocket
- Need API Setting to allow modify kubelet config for Json logging format HOT 1
- Allow parallel image pulls HOT 5
- `host-ctr` cli crashes when pulling public ECR image HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bottlerocket.