-
Notifications
You must be signed in to change notification settings - Fork 124
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
Translate cpu.frequency
hardware requirement
#3296
Conversation
f7fe5b3
to
3968c98
Compare
What is "CPU speed"?
How quickly a cpu can process data, measured in HZ,ah,I should put this
information into spec?:)
…On Thu, Oct 17, 2024 at 4:08 PM Miloš Prchlík ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In spec/hardware/cpu.fmf
<#3296 (comment)>:
> @@ -41,6 +41,9 @@ description: |
# Number or string, an ID of CPU vendor.
vendor: 1234|"> 1234"
+ # Integer or string, CPU speed.
+ speed: 2300|">= 2300"
What is "CPU speed"?
—
Reply to this email directly, view it on GitHub
<#3296 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKFR23D7EPAZZVPL6UR4GHDZ35V5VAVCNFSM6AAAAABQDDNFEGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNZUGQ3TEMRXGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I believe in this context, we are using MHz. Oh and it might be better to use "frequency", instead of "speed". |
Yeah, Mhz, Ghz, TBO, I don't use it for my team's testing, I'm just trying
to fill gaps.
My goal is: when beaker users come , they find almost all they need are
already implemented
…On Thu, Oct 17, 2024 at 5:42 PM Martin Hoyer ***@***.***> wrote:
How quickly a cpu can process data, measured in HZ,ah,I should put this
information into spec?:)
I believe in this context, we are using MHz.
—
Reply to this email directly, view it on GitHub
<#3296 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKFR23FL32BS2ONAQPGZBOTZ36A67AVCNFSM6AAAAABQDDNFEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJZGA2TKOBRGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The good thing is, that we do not need to worry about conversions :) Thanks to Pint, It's like the
+1 for |
Yep, see how
Hm, probably a new class should be added, and maybe we should rename |
3968c98
to
cf46951
Compare
cf46951
to
bf59e29
Compare
Updated^^
…On Thu, Oct 17, 2024 at 6:15 PM Miloš Prchlík ***@***.***> wrote:
Yeah, Mhz, Ghz, TBO, I don't use it for my team's testing, I'm just trying
to fill gaps. My goal is: when beaker users come , they find almost all
they need are already implemented
|
That's because this is cpu-speed branch, cpu.frequency for mrack is
implemented on cpu-speed-mrack branch, which is based on this branch:)
…On Fri, Oct 18, 2024 at 5:06 PM Miloš Prchlík ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In spec/hardware/cpu.fmf
<#3296 (comment)>:
> link:
- implemented-by: /tmt/steps/provision/artemis.py
note: "``cpu.vendor``, ``cpu.vendor-name`` and ``cpu.hyper-threading`` not implemented yet"
- implemented-by: /tmt/steps/provision/mrack.py
- note: "``cpu.flag``, ``cpu.processors``, ``cpu.model``, ``cpu.cores``, ``cpu.model-name``, ``cpu.hyper-threading`` and ``cpu.vendor-name`` only"
+ note: "``cpu.flag``, ``cpu.processors``, ``cpu.model``, ``cpu.cores``, ``cpu.model-name``, ``cpu.hyper-threading``, ``cpu.stepping`` and ``cpu.vendor-name`` only"
Doesn't mention frequency.
—
Reply to this email directly, view it on GitHub
<#3296 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKFR23DSB55HXZ4P54HGUPDZ4DFRNAVCNFSM6AAAAABQDDNFEGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNZXGQ4TCOBRHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You can edit this PR to change its base branch to the one providing
stepping changes
Updated and changed^^
…On Fri, Oct 18, 2024 at 11:12 PM Lili Nie ***@***.***> wrote:
That's because this is cpu-speed branch, cpu.frequency for mrack is
implemented on cpu-speed-mrack branch, which is based on this branch:)
On Fri, Oct 18, 2024 at 5:06 PM Miloš Prchlík ***@***.***>
wrote:
> ***@***.**** commented on this pull request.
> ------------------------------
>
> In spec/hardware/cpu.fmf
> <#3296 (comment)>:
>
> > link:
> - implemented-by: /tmt/steps/provision/artemis.py
> note: "``cpu.vendor``, ``cpu.vendor-name`` and ``cpu.hyper-threading`` not implemented yet"
> - implemented-by: /tmt/steps/provision/mrack.py
> - note: "``cpu.flag``, ``cpu.processors``, ``cpu.model``, ``cpu.cores``, ``cpu.model-name``, ``cpu.hyper-threading`` and ``cpu.vendor-name`` only"
> + note: "``cpu.flag``, ``cpu.processors``, ``cpu.model``, ``cpu.cores``, ``cpu.model-name``, ``cpu.hyper-threading``, ``cpu.stepping`` and ``cpu.vendor-name`` only"
>
> Doesn't mention frequency.
>
> —
> Reply to this email directly, view it on GitHub
> <#3296 (review)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AKFR23DSB55HXZ4P54HGUPDZ4DFRNAVCNFSM6AAAAABQDDNFEGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNZXGQ4TCOBRHE>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
c6b6f81
to
fd80b26
Compare
Blocked on #3295 |
820f125
to
cc690dc
Compare
cpu.speed
hardware requirementcpu.frequency
hardware requirement
Ah,yes,and updated^^
…On Thu, Oct 24, 2024 at 4:09 PM Miloš Prchlík ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In tmt/hardware.py
<#3296 (comment)>:
> original_constraint=original_constraint,
allowed_operators=allowed_operators
)
+class NumberConstraint(Constraint[float]):
+ """ A constraint representing a dimension-less float number """
IntegerConstraint remains dimension-less, but NumberConstraint isn't, we
already use it for a constraint with a default unit :)
—
Reply to this email directly, view it on GitHub
<#3296 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKFR23EPGMPDG7MGQVCIYFDZ5CTKFAVCNFSM6AAAAABQDDNFEGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGOJRGY2TONBTGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
b55fa95
to
72e345d
Compare
Unrelated Fedora 41 failures, merging. |
Pull Request Checklist