Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #13951

Re: multi cpus

From Jean-David Beyer <jeandavid8@verizon.net>
Newsgroups comp.os.linux.misc
Subject Re: multi cpus
Date 2015-03-05 21:11 -0500
Organization NewsGuy - Unlimited Usenet $23.95
Message-ID <mdb2ct0ols@news4.newsguy.com> (permalink)
References <851587d0-01da-4d3e-9bb4-c2e29b7d098f@googlegroups.com> <mct1hv$je3$3@dont-email.me>

Show all headers | View raw


On 02/28/2015 01:31 PM, William Unruh wrote:
> On 2015-02-28, john@wexfordpress.com <john@wexfordpress.com> wrote:
>> My computer seems to bog down on certain apps like scribus, swriter etc. Yet when 
>> I check "top" the app in question is using 100% of the cpu. In fact I have three cpus. Is it possible that only one is being used? If so, how do I fix this? 
>> Slackware 14.1.
> 
> Most programs can use only one cpu. They are not designed for parallel
> operation. So, unless you rewrite the programs, or persuade the writer
> to write them in a parallel processor form, ( a gift of $10000 would
> probably help in that) there is nothing you can do. 
> 
>>
>> John Culleton
True, but some programs do.

IIRC, IBM's DB2 database management system can use a lot of CPUs if
necessary. There is a main process that does the obvious things, like
SQL processing. But there are buffer managers and IO readers and writers
that can, and do, run asynchronously. Most people would not wish to run
DB2 on their desktops, but at one time, it was the only really good one
available for UNIX type systems.

PostgreSQL is very practical on a desktop, but the desktop has to be
properly configured. I ran that for quite a few years. It was useful to
have a an IO writer for each hard drive used by the DBMS. I had six SCSI
hard drives on two separate disk controllers on different internal data
busses. It worked very well.

But when Firefox gets hung up, it uses 100% of whatever processor it is
on even when it does not seem to be doing anything. It is at times like
that that I am glad to have multiple processors (or cores), so I can do
something until Firefox becomes unconfused.

-- 
  .~.  Jean-David Beyer          Registered Linux User 85642.
  /V\  PGP-Key:166D840A 0C610C8B Registered Machine  1935521.
 /( )\ Shrewsbury, New Jersey    http://linuxcounter.net
 ^^-^^ 21:00:01 up 5 days, 5:08, 3 users, load average: 4.44, 4.46, 4.38

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

multi cpus "john@wexfordpress.com" <john@wexfordpress.com> - 2015-02-28 06:01 -0800
  Re: multi cpus Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-02-28 15:15 +0100
    Re: multi cpus Robert Heller <heller@deepsoft.com> - 2015-02-28 08:52 -0600
    Re: multi cpus Baho Utot <baho-utot@columbus.rr.com> - 2015-02-28 15:51 -0500
  Re: multi cpus Tim Watts <tw_usenet@dionic.net> - 2015-02-28 14:51 +0000
  Re: multi cpus William Unruh <unruh@invalid.ca> - 2015-02-28 18:31 +0000
    Re: multi cpus Robert Heller <heller@deepsoft.com> - 2015-02-28 13:11 -0600
      Re: multi cpus Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2015-02-28 13:35 -0800
    Re: multi cpus Andreas Kohlbach <feb15.5.ankman@spamgourmet.net> - 2015-02-28 16:31 -0500
    Re: multi cpus Jean-David Beyer <jeandavid8@verizon.net> - 2015-03-05 21:11 -0500
  Re: multi cpus faeychild <faeychild@nomail.afraid.org> - 2015-03-01 12:32 +1100

csiph-web