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


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

Re: multi cpus

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news4
From Jean-David Beyer <jeandavid8@verizon.net>
Newsgroups comp.os.linux.misc
Subject Re: multi cpus
Date Thu, 05 Mar 2015 21:11:45 -0500
Organization NewsGuy - Unlimited Usenet $23.95
Lines 38
Message-ID <mdb2ct0ols@news4.newsguy.com> (permalink)
References <851587d0-01da-4d3e-9bb4-c2e29b7d098f@googlegroups.com> <mct1hv$je3$3@dont-email.me>
NNTP-Posting-Host pabafc8d925d590407cc4252925b1211247b3b3502511dc85.newsdawg.com
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120829 Thunderbird/10.0.7
In-Reply-To <mct1hv$je3$3@dont-email.me>
X-Enigmail-Version 1.4
X-Received-Bytes 2766
X-Received-Body-CRC 1449302483
Xref csiph.com comp.os.linux.misc:13951

Show key headers only | 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