Re: Current state of multi-core awareness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dsavage@xxxxxxxxxxx writes:

Building up F10 on my new quad-core uber-laptop is becoming a painful
exercise in single-threadedness, at least as far as Package Manager is
concerned. PM may be graphical and intuitive, but it's obviously not
designed to use more than one core. When it's checking dependencies or
installing packages, one core is solidly pegged at 100% while the other
three cores are idling.

Of the thousands of 64-bit F10 applications/tools/utilities, I wonder how
many are aware of and can scale across multiple cores.

It's not a matter of "awareness". You cannot just take an arbitrary algorithm, and flip a magic switch to have it crunched by multiple CPUs.

Writing code to run on multiple CPUs is very different than writing single-threaded code. The logic is completely different. Rarely do you have an application where you can set one CPU to do X, another CPU to do Y, and have them go on their merry ways. Very few tasks can be accomplished that way. Rather, you will find that many times a multi-threaded application needs to have all of its execution threads coordinate their work between themselves and "talk" to each other. This introduces additional complications, and plenty of opportunities for hard-to-debug race conditions that will consume inordinate amounts of time to debug and fix.

That's why most applications are single threaded, so the greatest benefit of multiple CPUs is to let you run multiple applications at the same time efficiently.

Attachment: pgpI2RwKhbxNd.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux