Multi-tasking - Debian

This is a discussion on Multi-tasking - Debian ; Raúl Sánchez Siles: > Here is something I have always liked to asks but I hadn't had the > chance. The problem is that on my job PC, I use reiser over a LVM over a > SATA disk. When ...

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 21 to 35 of 35

Thread: Multi-tasking

  1. Re: [OT]Re: Multi-tasking

    Raúl Sánchez Siles:
    > Here is something I have always liked to asks but I hadn't had the
    > chance. The problem is that on my job PC, I use reiser over a LVM over a
    > SATA disk. When I have some disk intensive tasks/intervals, my system
    > turns not as responsive as I wish and as I think should be.


    One part of the problem is crappy PC hardware :-\. Most certainly, the SATA
    tranfers block the PCI bus and use up parts of your memory bandwidth while
    transfering data, which is a bad thing. The other part (even with
    non-crap) - you're putting heavy load on your disk subsystem from one
    process. Now, if another process tries to do disk i/o, the heavy load from
    the other process slows it down.

    > In this situation, I have tried doing top on a konsole, and I find
    > that the field "wa" in the above part of the top report, in the middle
    > of "id" and "hi" raises to 80-90%. I don't know what exactly this field
    > means, but I bet for cpu-wait state as it is the case in disk I/O.


    It's the amount of time, your systems spends waiting for i/o requests to
    finish, and its quite normal to have 90%+ i/o wait while you're doing disk
    i/o. In an ideal world, the disk operation should not influence the rest
    of the system too much (apart from slowing down other disk i/o.)

    > All of this guessing yields me to the conclusion that I'm sometimes
    > wasting up to 90% of cpu time waiting or just doing nothing, I can't


    If you're not typing very, very fast (or run some seti stuff in the
    background all the time), your system spends nearly 100% of it's time
    doing nothing ;-).

  2. Re: Multi-tasking

    On Wednesday 28 June 2006 09:20, Matej Cepl wrote:
    > Leopold Palomo Avellaneda wrote:
    > > have you tried to compile yourself a kernel. I think that the debian
    > > packages of kernels have a default behavior of server. From the 2.6
    > > kernels, there's an option in the multitask about preemptive or server. A
    > > preemptive kernel has a better "feeling" for the desktop user than the
    > > server.

    >
    > Why, oh why I haven't asked this question before (using Linux for almost
    > six years and never suspected that my kernel configuration is anything than
    > perfect)? :'(
    >
    > Thanks a lot, I have recompiled kernel with CONFIG_PREEMPT and it seems to
    > be really *much* more responsive. Why is this not more popularized?


    Wouldn't it make much sense if debian had two kernel pakages? One suited for
    desktop and one for server? I guess it should be about time by now to have
    such concerns. Maybe that would be a sugestion for utnubu crew?

    regards
    FF


    --
    To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Re: Multi-tasking

    Felipe Figueiredo wrote:
    > Wouldn't it make much sense if debian had two kernel pakages? One suited
    > for desktop and one for server? I guess it should be about time by now to
    > have such concerns. Maybe that would be a sugestion for utnubu crew?


    That's bug# 375845 and also I have found
    that there is a special subproject (which seems to be almost dead)
    debian-desktop (they at least
    somehow alive wiki on ).

    Best,

    Matěj

    --
    GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
    http://www.ceplovi.cz/matej/blog/, Jabber: ceplma@jabber.cz
    23 Marion St. #3, (617) 876-1259, ICQ 132822213

    The ratio of literacy to illiteracy is a constant, but nowadays
    the illiterates can read.
    -- Alberto Moravia



    --
    To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  4. Re: [OT]Re: Multi-tasking

    First of all, thank you very much for your answer.

    El Jueves, 29 de Junio de 2006 10:20, Dietz Proepper escribió:
    > Raúl Sánchez Siles:
    >
    > > In this situation, I have tried doing top on a konsole, and I find
    > > that the field "wa" in the above part of the top report, in the middle
    > > of "id" and "hi" raises to 80-90%. I don't know what exactly this field
    > > means, but I bet for cpu-wait state as it is the case in disk I/O.

    >
    > It's the amount of time, your systems spends waiting for i/o requests to
    > finish, and its quite normal to have 90%+ i/o wait while you're doing disk
    > i/o. In an ideal world, the disk operation should not influence the rest
    > of the system too much (apart from slowing down other disk i/o.)
    >

    I currently use the deadline scheduler, do you think using another schedule
    would improve things¿?

    > > All of this guessing yields me to the conclusion that I'm sometimes
    > > wasting up to 90% of cpu time waiting or just doing nothing, I can't

    >
    > If you're not typing very, very fast (or run some seti stuff in the
    > background all the time), your system spends nearly 100% of it's time
    > doing nothing ;-).


    The thing here is that I don't mind "idle-ing" the CPU when I don't need it,
    but bloating it waiting when I do need it.

    --
    Raúl Sánchez Siles
    ----->Proud Debian user<-----
    Linux registered user #416098

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.3 (GNU/Linux)

    iD8DBQBEpBx+SbRPhLCoLYYRAq0BAJ49Nbdgw+sZqG2U+iSfYD XAkFrKIQCfZ7Nh
    X1vsClTB/TVL7SEhGxvAsTE=
    =K9BH
    -----END PGP SIGNATURE-----


  5. Re: [OT]Re: Multi-tasking

    El Jueves, 29 de Junio de 2006 20:31, Raúl Sánchez Siles escribió:
    > I currently use the deadline scheduler, do you think using another
    > schedule would improve things¿?


    Staircase scheduler rocks all the way, and also CFQ2 for I/O. But they're only
    available in CK patch i use here
    --
    Rafael Rodríguez

    http://unrincon.blogspot.com

  6. Re: Multi-tasking

    Matej Cepl on Wednesday 28 Jun 2006 08:39 wrote:

    > Hi,
    >
    > I really do not want to flame (I have been using KDE for many years and I do
    > not mean to change anything about that), but can anybody explain why KDE
    > has so lousy multi-tasking? Or is it whole Linux? I have noticed it for
    > long time, but couple of days I was working on Windows XP and running
    > something terribly complicated with Access, it was running completely out
    > of its mind, but when I switched to the other window where I had Excel, I
    > could work without problems and I have hardly noticed almost dying Access
    > on the background. Whenever I run something more complicated in Linux (gcc,
    > update of slocate dbase), whole computer goes almost to halt (and it is not
    > that bad computer -- Dell Inspiron 2200 notebook w/ Celeron 1.4GHz, 512MB
    > RAM). I believe that Linux should have perfect multi-everything, but
    > apparently there is some problem with my configuration.
    >
    > Can anybody kick me in the right direction?
    >


    You're using a laptop. So I guess you're just another use like me. You won't be
    running database daemons or other server daemons on the laptop.

    All I can suggest is to recompile your kernel with the following features:
    1) Use 1000HZ for Kernel Timer Frequency (I highly recommend it)
    2) Enable Kernel Preemption for Low Latency Desktops
    3) Use "Preempt The BIG Kernel Lock"
    4) Use CFQ as the I/O scheduler

    Wish Debian shipped a laptop specific kernel like linux-image-X.X.XX-laptop
    I've also been willing to do this but don't have the proper resources.

    HTH,
    Ritesh
    --
    Ritesh Raj Sarraf
    RESEARCHUT - http://www.researchut.com
    "Necessity is the mother of invention."
    "Stealing logic from one person is plagiarism, stealing from many is research."
    "The great are those who achieve the impossible, the petty are those who
    cannot - rrs"


    --
    To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  7. Re: Multi-tasking

    Nice tip,

    just tried to find the debian kernel-source for a 2.6 kernel in sid and there
    was none... I admit that I was a bit surprised. (unstable, isn't it I
    thought it must be my fault (screwed aptitude or so), but no, the official
    web-interface gives the same result.

    A stock kernel will do it, so just to alert other people.

    Best,

    Rigo


    Am Sunday 02 July 2006 21:03, sprach Ritesh Raj Sarraf:
    >
    > All I can suggest is to recompile your kernel with the following features:
    > 1) Use 1000HZ for Kernel Timer Frequency (I highly recommend it)
    > 2) Enable Kernel Preemption for Low Latency Desktops
    > 3) Use "Preempt The BIG Kernel Lock"
    > 4) Use CFQ as the I/O scheduler
    >
    > Wish Debian shipped a laptop specific kernel like linux-image-X.X.XX-laptop
    > I've also been willing to do this but don't have the proper resources.
    >


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.3 (GNU/Linux)

    iD8DBQBEqM59CRlGO2Cxp/0RAviLAJ0R+CAIF0sdlnLgL+zbj9mzQFMaGgCdHn0h
    YbTbizBOlJyzevdIucbIu/s=
    =EKBQ
    -----END PGP SIGNATURE-----


  8. Re: Multi-tasking

    On Monday 03 July 2006 09:59, Rigo Wenning wrote:

    > Nice tip,
    >
    > just tried to find the debian kernel-source for a 2.6 kernel in sid and
    > there was none... I admit that I was a bit surprised. (unstable, isn't it
    > I thought it must be my fault (screwed aptitude or so), but no, the
    > official web-interface gives the same result.


    The debian kernel sources for 2.6 kernels are in sid. It is called
    linux-source-2.6.15 (for example).

    Greetings,
    Michael


    --
    To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  9. Re: Multi-tasking

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Rigo Wenning wrote:
    > Nice tip,
    >
    > just tried to find the debian kernel-source for a 2.6 kernel in sid and there
    > was none... I admit that I was a bit surprised. (unstable, isn't it I
    > thought it must be my fault (screwed aptitude or so), but no, the official
    > web-interface gives the same result.
    >
    > A stock kernel will do it, so just to alert other people.
    >
    > Best,
    >
    > Rigo


    m77@shikia:~$ apt-cache search linux-source
    linux-patch-debian-2.6.16 - Debian patches to version 2.6.16 of the
    Linux kernel
    linux-patch-debian-2.6.17 - Debian patches to version 2.6.17 of the
    Linux kernel
    linux-source-2.6.16 - Linux kernel source for version 2.6.16 with Debian
    patches
    linux-source-2.6.17 - Linux kernel source for version 2.6.17 with Debian
    patches
    linux-tree-2.6.16 - Linux kernel source tree for building Debian kernel
    images
    linux-tree-2.6.17 - Linux kernel source tree for building Debian kernel
    images

    Check your sources.list

    Alejandro Bárcena
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.3 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFEqN4lpZP6bMridNYRAtOuAJ9HWmdlH60tI17BF6Fu5O YZnOJgcwCgqAVQ
    S2KLu/B9xMx9IA998brG7C4=
    =0kNa
    -----END PGP SIGNATURE-----


    --
    To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  10. Re: Multi-tasking

    El Lunes, 3 de Julio de 2006 09:59, Rigo Wenning escribió:
    > just tried to find the debian kernel-source for a 2.6 kernel in sid and
    > there was none... I admit that I was a bit surprised. (unstable, isn't it
    > I thought it must be my fault (screwed aptitude or so), but no, the
    > official web-interface gives the same result.


    As others noted, now the source of the linux kernel, is in linux-source, not
    in kernel-source, because Debian supports (or will support) more than one
    kernel, for example:

    http://www.debian.org/ports/kfreebsd-gnu/

    If you are curious, there is a live CD:

    http://glibc-bsd.alioth.debian.org/ging/

    --
    Alex (a.k.a. suy) - GPG ID 0x0B8B0BC2
    http://barnacity.net/ - Jabber ID: suy@bulmalug.net

  11. Re: Multi-tasking

    Thanks a lot for the answers and the effort. In fact I searched with kernel
    (as it worked before) and hadn't the reflex to search with "source".

    Sorry for the chatter..

    Rigo


    Am Monday 03 July 2006 10:03, sprach Michael Thaler:
    > The debian kernel sources for 2.6 kernels are in sid. It is called
    > linux-source-2.6.15 (for example).
    >
    > Greetings,
    > Michael


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.3 (GNU/Linux)

    iD8DBQBEqRVaCRlGO2Cxp/0RAiS6AJwPESmpVZnbjzHVnV+WyelOEyrbHQCdHLcV
    FmePMTkcW+V4PpDdmTK+sbc=
    =qHnh
    -----END PGP SIGNATURE-----


  12. Re: Multi-tasking

    Alejandro Bárcena Campos wrote:
    >> just tried to find the debian kernel-source for a 2.6 kernel in sid and
    >> there was none... I admit that I was a bit surprised. (unstable, isn't it
    >> I thought it must be my fault (screwed aptitude or so), but no, the
    >> official web-interface gives the same result.


    Just one curious question -- I have been running for couple of years plain
    vanilla kernel from kernel.org (now compiling 2.6.17.3) just with suspend2
    patch. Is there anything interesting in Debian-applied patches which I am
    missing (for laptop -- so server-related patches are not concern to me)? Is
    there somewhere list of all patches applied against pristine vanilla kernel
    in Debian?

    Thanks,

    Matěj

    --
    GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
    http://www.ceplovi.cz/matej/blog/, Jabber: ceplma@jabber.cz
    23 Marion St. #3, (617) 876-1259, ICQ 132822213

    Why do you sit there looking like an envelope without any address
    on it?
    -- Mark Twain



    --
    To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  13. Spamfiltering with KMail (was: Re: Multi-tasking)

    Am Mittwoch, 28. Juni 2006 12:57 schrieb David Martínez Moreno:
    > El miércoles, 28 de junio de 2006 11:50, Alejandro Exojo escribió:
    > > I have an Athlon 800, and when I download my email, kmail blocks
    > > completely, and doesn't refreshes until spamassassin finishes processing
    > > at least the current email, but if I switch to another application, it
    > > works very well.

    >
    > That is the most annoying KMail feature I have seen, and I find
    > unbelievable that KMail developers hadn't taken care of it yet. It is...two
    > years old? Three? And it makes KMail unuseable with a spamassassin
    > configured with DNS queries. :-(


    Hello,

    there is a - well at least one - huge bug report about it:

    http://bugs.kde.org/show_bug.cgi?id=41514

    > The last time I debugged the problem it was due to KMail looking every
    > timeslice it has into the pipe it opens to spamassasin, not every, say,
    > half a second.


    Hmmm, I would have thought the problem is just that KMail starts the spam
    filter synchronously. This might not be that easy to change.

    I used bogofilter which I believe to use less resources than spamassassin
    while still giving good results (once I learned it).

    I found out that it likes large buffer sizes when the spam database grows, so
    I added "-k 50" as option to the bogofilter related filter rules. The best
    value may vary depending on the available RAM and the size of spam
    database... the man page says "The recommended size is one third of the size
    of the database file.", but I use more and I believe it helps.

    I also regularily run a script like this:

    #!/bin/bash

    bf_compact ~/.bogofilter
    rm -rf ~/.bogofilter.old

    But I really only required it on my notebook which seems to get more spam than
    my workstation at work.

    I would like to try out KMail with crm114, but it may take quite some time
    till I manage to take the time to try it out.

    Regards,
    --
    Martin Steigerwald - team(ix) GmbH - http://www.teamix.de
    gpg: 19E3 8D42 896F D004 08AC A0CA 1E10 C593 0399 AE90

  14. Re: Multi-tasking

    Am Sonntag 02 Juli 2006 21:03 schrieb Ritesh Raj Sarraf:

    > You're using a laptop. So I guess you're just another use like me. You
    > won't be running database daemons or other server daemons on the
    > laptop.
    >
    > All I can suggest is to recompile your kernel with the following
    > features: 1) Use 1000HZ for Kernel Timer Frequency (I highly recommend
    > it) 2) Enable Kernel Preemption for Low Latency Desktops
    > 3) Use "Preempt The BIG Kernel Lock"
    > 4) Use CFQ as the I/O scheduler


    Hello Ritesh,

    thats pretty much what I use here too. I think those are fairly good
    options for a vanilla kernel. But those patches from Con Kolivas sound
    nice, too.

    First I look whether 2.6.17.1 + xfs-fix patch + sws2 is really stable now
    with XFS and write caches on... see:

    http://bugzilla.kernel.org/show_bug.cgi?id=6757
    (seems fine upto now)

    and

    http://bugzilla.kernel.org/show_bug.cgi?id=6380
    (seems fine with write caches on now but I like to test a bit longer)

    Regards,
    --
    Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
    GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7


    --
    To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  15. Re: Multi-tasking

    Ritesh Raj Sarraf wrote:
    > All I can suggest is to recompile your kernel with the following features:
    > 1) Use 1000HZ for Kernel Timer Frequency (I highly recommend it)
    > 2) Enable Kernel Preemption for Low Latency Desktops
    > 3) Use "Preempt The BIG Kernel Lock"
    > 4) Use CFQ as the I/O scheduler


    Thanks, surprisingly I had all of them on already, except for the second
    one.

    Matěj

    --
    GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
    http://www.ceplovi.cz/matej/blog/, Jabber: ceplma@jabber.cz
    23 Marion St. #3, (617) 876-1259, ICQ 132822213

    [W]hat country can preserve its liberties, if its rulers are not
    warned from time to time that [the] people preserve the spirit of
    resistance? Let them take arms...The tree of liberty must be
    refreshed from time to time, with the blood of patriots and
    tyrants.
    -- Thomas Jefferson, letter to Col. William S. Smith, 1787



    --
    To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2