Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    bpetit
    @bpetit
    Does someone have an idea on hubblo-org/scaphandre#59 ?
    I mean the person reporting can't load the intel_rapl kernel modules but sees files related to it in some folders named /lib/modules/5.4.0-62-generic/modules.order:XXXX:kernel
    on my machine (same OS but more recent kernel, the files are in:
    /lib/modules/5.8.0-38-generic/kernel/arch/x86/events/rapl.ko
    /lib/modules/5.8.0-38-generic/kernel/drivers/powercap/intel_rapl_common.ko
    /lib/modules/5.8.0-38-generic/kernel/drivers/powercap/intel_rapl_msr.ko
    I don't know what the modules.order:XXXXX folders are coming from
    Could this be related to some DKMS magic or something ?
    I decided to ask you once I started reading patches in the kernel mailing list :laughing:
    Time to stop digging my own grave ! :D
    René Ribaud
    @uggla
    The guy seems to have a prompt with a '$'. Maybe stupid, but is he root ?
    bpetit
    @bpetit
    I didn't check but the Module rapl not found in directory error makes me think more about a link or reference missing. I have the same one if I try to load an inexistent module.
    René Ribaud
    @uggla
    yes I agree permission should rise a different msg.
    To my mind, it looks like he doesn't have the module file
    the locate does not output .ko files. (maybe not up2date)
    maybe the rapl is part of another pkg not installed can you check on your system ?
    bpetit
    @bpetit
    I did, and it was available by default, just not loaded. But I guess it can be different if you configure your distribution installation differently.
    René Ribaud
    @uggla
    he has not the same kernel as you older distro ?
    bpetit
    @bpetit
    same distro but he has an older kernel
    maybe he's using a kernel he compiled ? and didn't embed those drivers ?
    René Ribaud
    @uggla
    $ find /lib/modules/$(uname -r) -type f -name '*.ko' | grep rapl
    $
    files missing. unless wrong path
    so yes maybe he recompile the kernel and does not compile this module
    bpetit
    @bpetit
    I asked him, let's see.
    René Ribaud
    @uggla
    seems to be in extra before
    image.png
    I think he just need to install linux-modules-extra-5.4.0-26-generic
    bpetit
    @bpetit
    Oh yeah good catch. Maybe I had those by default :o
    I'll ask him thanks
    René Ribaud
    @uggla
    or they just add the module in the std package for updates.
    bpetit
    @bpetit
    maybe ! Thanks for the hint !
    I wonder why he would have "traces" of those kernel modules if he never installed the required package then Oo
    René Ribaud
    @uggla
    this is traces in the file : /lib/modules/5.4.0-62-generic/modules.order
    that should define the sequence to load module if needed
    so I think this is "normal"
    bpetit
    @bpetit
    Even if they are not present ?
    René Ribaud
    @uggla
    possible.
    bpetit
    @bpetit
    That's interesting. Let's see what come out of the issue.
    René Ribaud
    @uggla
    on fedora this is part of the man kernel pkg
    kernel-core
    At least maybe it something that could go into a troubleshooting section of the doco
    bpetit
    @bpetit
    yes definitely
    Florimond Manca
    @florimondmanca
    @bpetit The article is great. I like how you insist on systemic trends, like the democratization of autoscaling which broke apart the relationship between devs and the physicality of actual servers even further. I’m personally very wary of the idea that if we’re just « careful » in how we develop systems then it will be okay. We need to take into account things that go beyond individuals, so kudos to that. Also liked how you mentioned the limitations of measuring electricity consumption (« more to GHG than electricity ») and how you acknowledge at the beginning that the climate is only one aspect. I think in many existing developer oriented projects it has been a missing step to go beyond just climate change and open up the conversation about broader topics. Obviously the need for doing that for Scaphandre isn’t as clear since it’s an electricity consumption tool after all, but still it’s nice to have small bursts and hints of « let’s acknowledge it’s not just GHG or electricity and collectively extend the horizon a bit » :)
    Also FYI the newsletter I was mention is PyCoder’s Weekly, a pretty popular one in the Python community I believe
    bpetit
    @bpetit
    Thanks a lot for the feedback ! and the newsletter (I'm very interested in the python ecosystem too :) )
    bpetit
    @bpetit

    Hi !

    This week I'll work on hubblo-org/scaphandre#43
    And work on testing and merging hubblo-org/scaphandre#58 / hubblo-org/scaphandre#21

    If I have some more time I'll give a try on hubblo-org/scaphandre#55
    René Ribaud
    @uggla
    Hello @bpetit, en trainant sur la page des exporters prom, j'ai vu NVIDIA GPU exporter.
    bpetit
    @bpetit
    That's interesting, thanks for the hint :)
    with pynvml there are now 2 things that we can look at to measure GPU consumption :)
    René Ribaud
    @uggla
    Sorry I was tired yesterday and I wrote in French.... :)
    1 reply
    But so for I have seen only stuff to get consumption from NVIDIA and not the other brands.
    René Ribaud
    @uggla
    Hello