euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] Companies buying Linux support from… Microsoft.



    Ben BarrettFri Dec 22 17:38:15 PST 2006

    I guess you saw this one too?  (url is fairly descriptive)
    
    http://www.osnews.com/story.php/16786/Microsoft-Hands-Out-16000-SUSE-Linux-=
    Subscriptions/
    
    
    On 12/22/06, Garl Grigsby <badd_karma at comcast.net> wrote:
    >
    > Hey look at those pigs fly!!!
    >
    > http://open.itworld.com/4917/061220mslinux/page_1.html
    > _______________________________________________
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20061222/70ed5fd0/attac=
    hment.htm
    
  • [Eug-lug] Looking at the ‘free’ command



    Ben BarrettFri Dec 22 17:35:58 PST 2006

    Bob, thanks for the gkrellm plug -- I am an old fan of it.
    However, I'd never used the daemon/remote; only ever remote-X via ssh.
    It is such a small app, do you think there is a substantial difference
    between running the daemon
    with a local gui client vs. tunneled/remote-X?
    
         Ben
    
    PS - the krells are very configurable, and I always changed the defaults --
    I'd invert the charts for read-vs-write, in-vs-out, etc,
    to make maximum data immediately readable.  Anecdote:  I was so impressed
    when I first brought it up remotely, I was using my first laptop
    and had never seen more than 1 CPU krell at once; this was on a UO system
    which was just beginning to have some gnome goodies, over 5 years ago...
    and those transparent themes are nice candy :)
    
    
    On 12/22/06, Bob Miller <kbob at jogger-egg.com> wrote:
    >
    > Matthew Jarvis wrote:
    >
    > > Learning something new...
    > >
    > > I'm trying to determine if a web server has enough RAM for the load. I
    > > was advised to use the ''free -m' command and to pay special attention
    > > to the Swap value.
    >
    > Quentin already answered.  You have plenty of RAM.
    >
    > I'd like to recommend gkrellm as the *best* way to understand a Linux
    > system's workload.  It continuously plots the last 60 seconds'
    > utilization of CPU (per-CPU and/or aggregate), disk (per-disk,
    > per-RAID, per-filesystem and/or aggregate), network I/O, run queue
    > length, memory used (with and without buffer cache) swap space used,
    > and swap I/O rate.
    >
    > It has a client-server mode where you run gkrellmd on your server
    > and gkrellm on your X11 display.
    >
    > If you run gkrellm on your systems all the time, you'll learn to
    > know at a glance exactly what's going on.
    >
    > --
    > Bob Miller                              K<bob>
    >                                         kbob at jogger-egg.com
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20061222/e9f340bc/attac=
    hment-0001.htm
    
  • [Eug-lug] Narrowing Vistas, content protection, hardware and the death of open source in the “consumer” world.



    larry priceFri Dec 22 17:06:03 PST 2006

    On 12/22/06, Garl Grigsby <badd_karma at comcast.net> wrote:
    > Wow. That's all I can say is wow. Can you image what would happen if MS
    > ever really implemented the 'revocation mechanism'? The backlash would
    > be immense. I can't even image what the hardware vendors like Dell, HP,
    > etc. would do. Can  you imagine the support costs?
    >
    > "Hey, look at that. Microsoft just disabled all of the video cards we
    > ship in our Dimension 1100's. Oh, hey, our phone lines are full. COOL!"
    
    And that's if it's used legitimately.
    
    What happens if some griefer decides that he hates nVidia, and knows
    just enough to trigger the revocation process. Or a competitor files a
    bogus breakage report?
    
    This looks to be like a full employment act for lawyers.
    
  • [Eug-lug] Narrowing Vistas, content protection, hardware and the death of open source in the “consumer” world.



    larry priceFri Dec 22 15:52:20 PST 2006

    As if you needed some other reasons to hate Vista
    
    http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt
    
    Stealthily attempting to render open source drivers impossible, since
    if you have access to the hardware at the level required by a driver,
    you own the box and can copy what you please...
    
    HDTV with open source tools? fuggedaboutit.
    
    The hardware license revocation aspect also strikes me as being
    fraught with the potential for exciting new forms of breakage.
    
  • [Eug-lug] Looking at the ‘free’ command



    Quentin HartmanFri Dec 22 13:46:26 PST 2006

    On 12/22/06, Bob Miller <kbob at jogger-egg.com> wrote:
    > I'd like to recommend gkrellm as the *best* way to understand a Linux
    > system's workload.  It continuously plots the last 60 seconds'
    > utilization of CPU (per-CPU and/or aggregate), disk (per-disk,
    
    Gkrellm is indeed a good tool if you're actively profiling and/or you
    have it running on a machine you are constantly sitting near. I used
    to use it all the time. I've found it more effective in the long term
    though to figure out what you consider to be "bad" thresholds and have
    one of the various monitoring tools watch those thresholds locally and
    then raise the alarm via email, sms, whatever when those thresholds
    are hit. That way you don't have the polling traffic (which can be
    substantial if you have a lot of machines and/or datapoints to watch)
    and you get an alert when something goes sideways, even if it happens
    while you're away from your desk and corrects itself before you get
    back.
    
    -- 
    -Regards-
    
    -Quentin Hartman-
    
  • [Eug-lug] Looking at the ‘free’ command



    Quentin HartmanFri Dec 22 12:32:20 PST 2006

    Another thing to note is that performance tuning is more art than
    science, and as Ben pointed out you need to discover what the
    difference looks like between "normal" and "hammered", and what part
    of the system is causing the hitch in the getalong.
    
    -- 
    -Regards-
    
    -Quentin Hartman-
    
  • [Eug-lug] Looking at the ‘free’ command



    Ben BarrettFri Dec 22 12:23:56 PST 2006

    vmstat will show you that with more context too -- you might want to
    set up some load tests, either web requests or samba xfers or
    computational tasks or whatnot.  Push your machine to the edge of
    its current workload and observe.  Setup your loads and log some vmstats
    (-n) IIRC...
    
        Ben
    
    
    On 12/22/06, Matthew Jarvis <mattj at bikefriday.com> wrote:
    >
    > Learning something new...
    >
    > I'm trying to determine if a web server has enough RAM for the load. I
    > was advised to use the ''free -m' command and to pay special attention
    > to the Swap value.
    >
    > Been watching it since last night and it Swap was at 96 then, 100 now.
    >
    > Here's the latest:
    >
    >
    >               total       used       free     shared    buffers     cached
    > Mem:          1511       1490         21          0        134       1039
    > -/+ buffers/cache:        315       1195
    > Swap:         1027        100        926
    >
    >
    >
    > We are looking at this to see about upgrading the server (a RAM upgrade
    > requires a newer box since the current one is maxed out) so we're
    > talking about some $$$ here, so I want to make the right call...
    >
    > Any advice on this?
    >
    >
    > --
    > Matthew S. Jarvis
    > IT Manager
    > Bike Friday - "Performance that Packs."
    > www.bikefriday.com
    > 541/687-0487 x140
    > mattj at bikefriday.com
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20061222/efdcb786/attac=
    hment.htm
    
  • [Eug-lug] Looking at the ‘free’ command



    Quentin HartmanFri Dec 22 12:22:11 PST 2006

    On 12/22/06, Matthew Jarvis <mattj at bikefriday.com> wrote:
    >               total       used       free     shared    buffers     cached
    > Mem:          1511       1490         21          0        134       1039
    > -/+ buffers/cache:        315       1195
    > Swap:         1027        100        926
    >
    <snip>
    >
    > Any advice on this?
    
    By these numbers I'd say you have plenty of RAM. of your 1.5GB, 1 GB
    is being used by cache, which in most cases is disk cache. The Linux
    VMM is (in most cases) set to be very aggressive with cache usage, so
    even though your memory looks "full", a substantial portion of that
    cache can be freed for program execution  should it be needed.
    
    For example, on my workstation right now I get:
    qhartman at qhartman-x:~$ free -m
                 total       used       free     shared    buffers     cached
    Mem:          3821       3796         24          0         53       2891
    -/+ buffers/cache:        850       2970
    Swap:         7216         72       7144
    
    After opening OpenOffice:
    qhartman at qhartman-x:~$ free -m
                 total       used       free     shared    buffers     cached
    Mem:          3821       3775         46          0         55       2844
    -/+ buffers/cache:        875       2945
    Swap:         7216         72       7144
    
    Notice that even though "effectively all" of my RAM was "in use"
    before I started OOo, afterwards the swap values have not changed.
    That's because the VMM has scavenged space from the cached RAM for
    OOo.
    
    
    The only time to be concerned about swap usage, especially on
    long-running machines is if the swap values are getting large _and_
    you have little or nothing in buffers or cache.
    
    Again, based on the numbers you provided, I'd say RAM is not a problem
    for this machine. If this machine is having performance problems, it's
    more likely an IO or CPU bottleneck.
    
    To get a quick high level view of CPU use, look at the load average in
    top. That number is the number of processes that are currently queued
    waiting for CPUtime. In most cases, if this number is larger than the
    number of CPU's you have the machine would benefit from more cpu
    power, either in the form of more cores or more Mhz. There are some
    exceptions to this (like busy sendmail boxes) but that's a good rule
    of thumb.
    
    For io, use iostat and look at the %iowait. That is the percentage of
    processes that are having to wait on an io operation to do their work.
    if this number gets and stays "high", like over 50% or so, I'd say you
    need a faster storage subsystem.
    
    
    -- 
    -Regards-
    
    -Quentin Hartman-
    
  • [Webdev] CRON-APT completed on tux [/etc/cron-apt/config]



    rootFri Dec 22 04:52:37 PST 2006

    CRON-APT RUN [/etc/cron-apt/config]: Fri Dec 22 04:00:01 PST 2006
    CRON-APT SLEEP: 3153, Fri Dec 22 04:52:34 PST 2006
    CRON-APT ACTION: 0-update
    CRON-APT LINE: /usr/bin/apt-get update -o quiet=2
    CRON-APT ACTION: 3-download
    CRON-APT LINE: /usr/bin/apt-get autoclean -y
    Reading package lists...
    Building dependency tree...
    CRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
    Reading package lists...
    Building dependency tree...
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.