Re: [SLE] how beagled is scheduled to run?



在 2006-07-31一的 09:13 +0200,Jan Engelhardt写道:
Hello. I have an X terminal server ... as perhaps everybody already
knows because I keep asking stupid questions... Sometimes beagled and
its related process (e.g. parse-metadata) suddenly come up and take
everybody by surprise by taking 100% CPU resource and slowing everything
down.

Desktop search has penalties. Just sort your files properly and you don't
need it :)

If I configure my Control Center to stop beagle from indexing my file,
that is fine, but is there a way to remove it for all users? Emm, remove
beagle package?


This keeps 10 minutes and everybody decide to get a coffee.
Usually every user's beagled process start together.

What I didn't find on google is how to change
scheduling

`ionice` command and syscall.

Ah, okay, admitted, I used wrong term, mislead by Windows' terminology
"Task Scheduler" which is used like cron in Linux. For other newbies on
this list: "scheduler" in linux is about how kernel give away CPU
resource.


Besides, removing beagle completely from cron is stupid, because beagle
is useful, it simply decided to work in wrong time.

Given that it runs _a long time_ (even longer than updatedb), it may happen
that it always runs at the wrong time.

Best approach: how about SuSE design it in this way? That "beagled only
starts if load average in the past 10 minute is lower then 0.5
(configurable)". This gives beagled a smart brain, it can even start
itself in launch time when noticed nobody used the desktop for a while.
s/launch/lunch/

As for me, beagle should only be run if the user explicitly allowed it. So
much for starting beagle 15 minutes after the initial install just
completed.


Jan Engelhardt
--

--
锐业软服(国内业务) http://www.realss.cn
Real SoftService http://www.realss.com
销售咨询(Sales Department): 0086 592 20 99987 (Chinese, German,
English)
国际业务(International Sales): 0086 10 8460 6011 (German and English)
联系:厦门大学科技园,嘉庚二号楼6楼
邮政:厦门大学2312号信箱(邮编361005)

Attachment: signature.asc
Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8=E5=88=86?=



Relevant Pages

  • Re: Beagle chewing up CPU!
    ... I hate this beagle thing already, ... I am so freaking happy with google search desktop for Linux that I could ... CPU when it was first installed for the first day, ... PhilipsService iso file and used google desktop on XP. ...
    (alt.os.linux)
  • Re: beagled-helper is sucking all of the resources!
    ... >>> more of my cpu. ... >> (to you, or the computer, but it may be bad for beagle). ... The only way I know is from the gnome menus. ... you only have to tell gnome once to not run beagled at startup. ...
    (Fedora)
  • Re: beagled-helper is sucking all of the resources!
    ... This Fedora OS is a relatively new install. ... I would like to know if this process will always use this cpu percentage, ... I had the same issue with beagle. ... it from starting when you start gnome by disabling it from System -> ...
    (Fedora)
  • Re: [opensuse] Why beagle?
    ... I have no problem with beagle, and I find it a nice way to graphically ... I can see how it could hog CPU with malformed files, ... of memory and a 7200 RPM SATA disk. ... Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org ...
    (SuSE)
  • Re: beagled-helper is sucking all of the resources!
    ... justifying the 85%. ... This Fedora OS is a relatively new install. ... I would like to know if this process will always use this cpu percentage, ... I had the same issue with beagle. ...
    (Fedora)