Coder Social home page Coder Social logo

Packaging for Fedora about oomd HOT 10 CLOSED

facebookincubator avatar facebookincubator commented on July 19, 2024 4
Packaging for Fedora

from oomd.

Comments (10)

filbranden avatar filbranden commented on July 19, 2024 1

RPMs for the just released oomd v0.2.0 are available on this COPR repository:
https://copr.fedorainfracloud.org/coprs/filbranden/oomd/

Feel free to use them and please report back on how they work for you!

I'm also going to propose them for inclusion on Fedora.

Cheers,
Filipe

from oomd.

filbranden avatar filbranden commented on July 19, 2024 1

Proposed for inclusion on Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1750983

from oomd.

hakavlad avatar hakavlad commented on July 19, 2024 1

Please add this here https://github.com/facebookincubator/oomd#building-and-installing

from oomd.

filbranden avatar filbranden commented on July 19, 2024

Will do. Preparing a PR for that right now.

from oomd.

hakavlad avatar hakavlad commented on July 19, 2024

@filbranden

report back on how they work for you!

  1. They kill all the session instead of one process.
  2. They uses 7% CPU on my VM.
  3. I turned off the swap and started opening browser tabs, and in the end the system freezed.

https://imgur.com/a/FSOtqPm

Resume: they are not for desktop. Don't advise it to use on desktop. Use earlyoom or nohang on desktop instead of oomd.

from oomd.

hakavlad avatar hakavlad commented on July 19, 2024

I would like you to honestly document the disadvantages of using oomd on the desktop somewhere.

from oomd.

danobi avatar danobi commented on July 19, 2024

They kill all the session instead of one process.

Yeah this is most unfortunate. There's been some discussion on the fedora mailing lists about getting gnome to start applications in their own user slices. This would be more in line with how we handle things in the data center. Each cgroup should be a logical block of the system. It's kind of clowny to put all user applications in the same cgroup.

They uses 7% CPU on my VM.

This has been fixed in upstream linux. It used to be an O(N) operation to read memory.stat in a cgroup (N is the number cgroups alive and non-reclaimed yet). Now it will be O(1).

I turned off the swap and started opening browser tabs, and in the end the system freezed.

oomd needs swap. If configured correctly (see point 1), oomd will prevent swap thrashing. In theory that makes swap only useful and not bad.

from oomd.

danobi avatar danobi commented on July 19, 2024

I would like you to honestly document the disadvantages of using oomd on the desktop somewhere.

I noticed you have a short state-of-the-world in your nohang repo. I would take a patch for a wiki page in this repo for a description if you're interested.

from oomd.

hakavlad avatar hakavlad commented on July 19, 2024

if you're interested

yes, please (but I do not quite understand what you mean)

from oomd.

filbranden avatar filbranden commented on July 19, 2024

Just wanted to leave a note here that oomd-0.2.0-4 is available on Fedora Rawhide already. (So you don't even need the COPR repository there.)

I opened tickets to push it to Fedora 31 and 30 as well (since they seem to have most of the pre-requisites available), so it may end up being included by default there.

I'll be releasing new versions of oomd to Fedora as they become available, so feel free to push fixes, new features and docs upstream and they'll eventually get into the Fedora package.

I believe this issue can be closed now, since I'd say inclusion in Fedora has been completed.

Regarding the fixes on documentation and including a state-of-the-world, perhaps this should be done on a separate issue? But feel free to keep having the discussion on this one (either keeping it closed or reopened) if you feel like this is still the place for it.

Cheers!
Filipe

from oomd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.