Question about CPU Core Speed

1 view
Skip to first unread message

Ranuka Perera

unread,
Aug 29, 2010, 1:04:50 PM8/29/10
to tech...@googlegroups.com
Is the CPU speed provided by the manufacturer the speed of a single logical core or a single physical core?

Regards,
Ranuka Perera

Kalinga Athulathmudali

unread,
Sep 2, 2010, 7:50:18 AM9/2/10
to tech...@googlegroups.com
2010/8/29 Ranuka Perera <ran...@gmail.com>:

> Is the CPU speed provided by the manufacturer the speed of a single logical
> core or a single physical core?

Single physical core

Eg: an P4 HT 3Ghz will show the OS as 3Ghz x 2, but the CPU runs at
3Ghz, but it can do 2 threads each at 3Ghz, so that mean the CPU can
logical do 6Ghz, but not in most cases and the app need to have the
support


--
කාලිංග ඇතුලත්මුදලි.
http://www.kalingasblog.com
Follow me on Twitter http://twitter.com/kalinga
තාක්ෂණය ඔබට අරියාදු කරනවාද? http://www.techkatha.com
සිංහල බ්ලොග් කියවමු http://blogs.sinhalabloggers.com
සිංහල Geek Chat http://techkatha.com/chat/

Ranuka Perera

unread,
Sep 2, 2010, 1:03:40 PM9/2/10
to tech...@googlegroups.com
So, an i5 with 2 physical cores (4 logical) can logically do 2.4 * 4?
Practically is it less than that?


Regards,
Ranuka Perera



2010/9/2 Kalinga Athulathmudali <kali...@gmail.com>
--
Techකතා SMS Update ලබාගන්න add ලෙස type කොට 0714712774 වෙත SMS කරන්න.

Techකතා Chat room එකට සෙට් වෙන්න http://techkatha.com/chat/
ටෙක්කතා සමූහය සඳහා ආචාර ධර්ම http://www.techkatha.com/rules-and-regulations/

ඔබට මෙම පණිවිඩය ලැබෙන්නේ ඔබ Teckකතා හි සාමාජිකයෙක් බැවිනි.
ලිවීම සඳහා tech...@googlegroups.com වෙත ලියන්න.
Teckකතා හින් ඉවත්වීම සඳහා http://googlegroups.com/group/techkatha/subscribe වෙත යන්න.

වෙබ් අඩවිය http://www.techkatha.com

Amila Banuka

unread,
Sep 2, 2010, 9:10:01 PM9/2/10
to tech...@googlegroups.com
sppedup you gain is not linear. it is governed by Amdahl'a law. even you have 4 processing units you normally won't get 4 times speedup. it totally depends on the program. if the program is not written to support parallel computation you will not gain any speedup.
let's say 50% of the code can run in parallel then you get 1.6 speedup in 4 processing units...
see the link for more information: http://en.wikipedia.org/wiki/Amdahl's_law

2010/9/2 Ranuka Perera <ran...@gmail.com>



--

Regards,
A.A.Banuka Amarasinghe,
Department of Computer Science and Engineering,
University of Moratuwa.

Ranuka Perera

unread,
Sep 3, 2010, 6:53:56 AM9/3/10
to tech...@googlegroups.com
I am aware of the practical limitations of utilizing resources due to coding limitations, but I am asking theoretically/practically assuming that the program is a perfect code that works perfectly on multi-core processors.

Regards,
Ranuka Perera



2010/9/3 Amila Banuka <amila...@gmail.com>

Amila Banuka

unread,
Sep 4, 2010, 12:35:56 PM9/4/10
to tech...@googlegroups.com
there are nor perfect codes. no coder can beat the critical path. only the rest can be parallelized. so in practically you cannot get linear speed up. 

Ranuka Perera

unread,
Sep 5, 2010, 2:58:57 AM9/5/10
to tech...@googlegroups.com
I am not asking about the speedup limit, but the hardware technological limit.
Regards,
Ranuka Perera
Reply all
Reply to author
Forward
0 new messages