Find the answer to your Linux question:
Results 1 to 5 of 5
In the world of the other OS, there is a debate about how useful multi core cpus are. The arguement is that most applications aren't written to take advantage of ...
  1. #1
    Linux Enthusiast MASONTX's Avatar
    Join Date
    May 2010
    Location
    Mason Texas
    Posts
    721

    Can linux aps use mutiple cores?

    In the world of the other OS, there is a debate about how useful multi core cpus are. The arguement is that most applications aren't written to take advantage of multiple cores. Can most linux aps take advantage of mutiple cores?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,970
    An application that consists of several processes, or threads, will take advantage of multi-core or multi-cpu systems. For example, I use a video conversion tool called ffmpeg which allows me to specify how many threads to use then converting a video from one format to another. The speedup is pretty much linear in that if I specify 8 threads (1 per core) then I get the conversion done in 1/7 to 1/8 the time.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    The problem with multiple cores is not really OS-dependent (assuming a reasonable thread scheduler). It has to do with programmers.

    For the past many, many years, programming has tended towards the heavily sequential model. This was fine as long as single processors were getting continuously faster: it's one thread of execution, but it's fast.

    The trend now is for smaller individual cores, but more concurrent threads of execution, so although a single computation is slower, you can do many in parallel. This requires that code be written in a parallelized fashion, so that these many cores can be taken advantage of.

    Not all pre-existing algorithms are easily parallelizable, so it has been a period of re-learning for many developers in order to learn about how to write multi-threaded, parallel programs. However, once this style of programming is better engrained in us, applications, no matter the platform, will be able to take better advantage of multi-core systems.
    DISTRO=Arch
    Registered Linux User #388732

  4. #4
    Linux Enthusiast MASONTX's Avatar
    Join Date
    May 2010
    Location
    Mason Texas
    Posts
    721

    Answered, and thank you!

    Thank you for the answers.

  5. #5
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    Dump: An article Cabhans post reminded me off... Verity Stob
    Can't tell an OS by it's GUI

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...