-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add BIOS settings for new equipment #65
Conversation
858bcb5
to
15bfac1
Compare
0318da2
to
87084cc
Compare
Signed-off-by: kouki <kouworld0123@gmail.com>
Signed-off-by: kouki <kouworld0123@gmail.com>
Signed-off-by: kouki <kouworld0123@gmail.com>
87084cc
to
909aad1
Compare
pkg/setup-hw/dell.go
Outdated
} | ||
case lib.R7525: | ||
// https://www.dell.com/support/manuals/ja-jp/poweredge-r7525/r7525_ism_pub/%E3%83%A1%E3%83%A2%E3%83%AA%E3%83%BC-%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%E5%8F%96%E3%82%8A%E4%BB%98%E3%81%91%E3%82%AC%E3%82%A4%E3%83%89%E3%83%A9%E3%82%A4%E3%83%B3?guid=guid-80b1c1ad-14b7-4dd6-b122-abb0c82bd3e8&lang=ja-jp | ||
return dc.enqueueConfig(ctx, numaSettingsKey, "4") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might change the configurations within a single Dell generation.
Why don't we check # of CPUs & memory units and set the appropriate NUMA setting?
pkg/setup-hw/dell.go
Outdated
return err | ||
} | ||
|
||
numaSettingsKey := "BIOS.ProcSettings.NumaNodesPerSocket" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is used only once. I don't like that the definition and usage are placed so distantly.
Why don't you embed the literal directly at the usage?
pkg/setup-hw/dell.go
Outdated
case lib.R6525: | ||
case lib.R7525: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
case lib.R6525: | |
case lib.R7525: | |
case lib.R6525, lib.R7525: |
269fd59
to
e27e0e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: kouki <kouworld0123@gmail.com>
e27e0e4
to
4931271
Compare
Signed-off-by: kouki <kouworld0123@gmail.com>
Signed-off-by: kouki <kouworld0123@gmail.com>
4931271
to
1e65e03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
BIOS.ProcSettings.NumaNodesPerSocket
settings for R6525 and R752521.11.26
Signed-off-by: kouki kouworld0123@gmail.com