Академический Документы
Профессиональный Документы
Культура Документы
CLOUD
CPUS
RWTForums
MOBILE
GPUS
GRAPHICS
CHIPS
SEMICONDUCTORS
SOFTWARE
STRATEGY
Searchthiswebsite
SEARCH
LOGIN
FORUMS
Avoidingpingpong
By:LinusTorvalds(torvalds.delete@this.linuxfoundation.org),December8,20141:34pm
Room:ModeratedDiscussions
JouniOsmala(josmala.delete@this.cc.hut.fi)onDecember8,20141:10pmwrote:
>
>I'massumingthat90+%ofprogramsalreadyrunfastenoughandtheydon'tmatterforthis.
>Itsallaboutaskingquestioninwhatusecurrentcomputersaretooslow,andcanyouparallerize
>thatorarethosecasesalreadyparallel.AndI'massumingyoucanparallerizeatleast10%
>ofthosetimeswhereuserwaitsCPUforlongenoughtoactuallynoticeit.
What'stheadvantage?
Youwon'tgetscalingformuchlonger,andcurrenttrendsareactuallyforlowerpoweranyway.Sowhat'stheupsideofpushingthewhole
parallelismsnakeoil?WeknowthatweneedfairlycomplexOoOCPU'sanyway,becausepeoplewantreasonableperformanceandit
turnsoutOoOisactuallymoreefficientthanslowinorder.
Thewhole"let'sparallelize"thingisahugewasteofeverybody'stime.There'sthishugebodyof"knowledge"thatparallelissomehow
moreefficient,andthatwholehugebodyispureanduttergarbage.Bigcachesareefficient.Parallelstupidsmallcoreswithoutcaches
arehorribleunlessyouhaveaveryspecificloadthatishugelyregular(iegraphics).
Nobodyisevergoingtogobackwardsfromwherewearetoday.ThosecomplexOoOcoresaren'tgoingaway.Scalingisn'tgoingto
continueforever,andpeoplewantmobility,sothecraziestalkingaboutscalingtohundredsofcoresarejustthatcrazy.Whygivethem
anounceofcredibility?
EDITORSPICKS
IntelsHaswellCPU
Microarchitecture
ByDavidKanter
Wherethehelldoyouenvisionthatthosemagicalparallelalgorithmswouldbeused?
AHistoricalLookattheVAX:
MicroprocessorEconomics
Theonlyplacewhereparallelismmattersisingraphicsorontheserverside,wherewealreadylargelyhaveit.Pushingitanywhereelse
isjustpointless.
ByJohnMashey
Sogiveuponparallelismalready.It'snotgoingtohappen.Endusersarefinewithroughlyontheorderoffourcores,andyoucan'tfit
anymoreanywaywithoutusingtoomuchenergytobepracticalinthatspace.Andnobodysanewouldmakethecoressmallerand
weakerinordertofitmoreofthemtheonlyreasontomakethemsmallerandweakerisbecauseyouwanttogoevenfurtherdownin
poweruse,soyou'dstillnothavelotsofthoseweakcores.
IntelsSandyBridgeMicroarchitecture
ByDavidKanter
Sothewholeargumentthatpeopleshouldparallelisetheircodeisfundamentallyflawed.Itrestsonincorrectassumptions.It'safadthat
hasbeengoingontoolong.
ParallelcodemakessenseinthefewcasesImentioned,wherewealreadylargelyhaveitcovered,becauseintheserverspace,people
havebeenparallelforalongtime.
Itdoesnotnecessarilymakesenseelsewhere.Evenincompletelynewareasthatwedon'tdotodaybecauseyoucant'affordit.Ifyou
wanttodolowpowerubiquotouscomputervisionetc,Icanprettymuchguaranteethatyou'renotgoingtodoitwithcodeonaGPCPU.
You'relikelynotevengoingtodoitonaGPUbecauseeventhatistooexpensive(powerwise),butwithspecializedhardware,probably
basedonsomeneuralnetworkmodel.
Giveitup.Thewhole"parallelcomputingisthefuture"isabunchofcrock.
Linus
<PreviousPostinThread
NextPostinThread>
Topic
PostedBy
Date
ARMv8gettingatomicoperations
dmcq
12/02/1405:32PM
ARMv8gettingatomicoperations
MaynardHandley
12/02/1407:33PM
ARMv8gettingatomicoperations
DougS
12/02/1410:30PM
ARMv8gettingatomicoperations
dmcq
12/03/1403:16AM
ARMv8gettingatomicoperations
MaynardHandley
12/03/1409:20AM
ARMv8gettingatomicoperations
Brett
12/03/1404:46PM
ARMv8gettingatomicoperations
Andreas
12/03/1406:51AM
ARMv8gettingatomicoperations
LinusTorvalds
12/03/1411:15AM
ARMv8gettingatomicoperations
anon
12/03/1405:08PM
Guaranteedtransactions
PaulA.Clayton
12/03/1408:04PM
Guaranteedtransactions
anon
12/03/1408:38PM
Avoidingpingpong
PaulA.Clayton
12/04/1409:11AM
Avoidingpingpong
anon
12/04/1410:15AM
OoOwindowislimited
PaulA.Clayton
12/04/1401:06PM
Avoidingpingpong
AaronSpink
12/04/1412:01PM
Avoidingpingpong
KonradSchwarz
12/04/1401:10PM
Avoidingpingpong
AaronSpink
12/04/1402:31PM
Avoidingpingpong
GabrieleSvelto
12/04/1402:49PM
KonradSchwarz
12/04/1411:08PM
Avoidingpingpong
GabrieleSvelto
12/05/1412:04AM
Avoidingpingpong
EricBronnli
12/05/1402:28AM
Avoidingpingpong
KonradSchwarz
12/05/1403:37AM
Avoidingpingpong
EricBronnli
12/05/1404:23AM
Avoidingpingpong
Klimax
12/05/1405:47AM
Avoidingpingpong
EricBron
12/05/1406:24AM
Avoidingpingpong
GabrieleSvelto
12/05/1410:38AM
Avoidingpingpong
KonradSchwarz
12/07/1402:28PM
Avoidingpingpong
GabrieleSvelto
12/08/1407:10PM
Avoidingpingpong
KonradSchwarz
12/09/1405:12AM
Avoidingpingpong
GabrieleSvelto
12/09/1407:31AM
Avoidingpingpong
anon
12/09/1411:24PM
Avoidingpingpong
GabrieleSvelto
12/05/1410:17AM
Avoidingpingpong
EricBron
12/05/1410:32AM
Avoidingpingpong
GabrieleSvelto
12/05/1412:45PM
Avoidingpingpong
EricBron
12/06/1402:20AM
Avoidingpingpong
nksingh
12/06/1403:42AM
platformisbasedaroundtheskylakeEPprocessor,
Avoidingpingpong
EricBron
12/06/1404:04AM
shouldaddPCIe4tothemix about1monthago
GiGNiC
12/06/1406:27AM
Lightsourceimprovementsneverseemtoliveupto
Avoidingpingpong
http://www.realworldtech.com/forum/?threadid=146066&curpostid=146227
RealWorldTech
Like
656peoplelikeRealWorldTech.
Facebooksocialplugin
RWTONTWITTER
1/3
1/7/2015
RWTForums
Avoidingpingpong
theroadmapwillbeinterestingtoseeinsertionat
Avoidingpingpong
EricBronnli
12/06/1406:44AM
Avoidingpingpong
EricBron
12/06/1407:07AM
Avoidingpingpong
nksingh
12/07/1404:06PM
industryshouldbecautiousaboutpromised
Avoidingpingpong
EricBron
12/08/1404:17AM
throughputimprovements... about1monthago
Avoidingpingpong
GiGNiC
12/08/1411:53AM
Avoidingpingpong
nksingh
12/08/1405:53PM
Avoidingpingpong
EricBron
12/09/1401:33AM
Avoidingpingpong
dmsc
12/06/1404:12AM
Avoidingpingpong
EricBron
12/06/1404:25AM
Avoidingpingpong
Klimax
12/06/1405:49AM
Avoidingpingpong
rwessel
12/07/1402:34AM
Avoidingpingpong
dmsc
12/06/1407:39AM
Avoidingpingpong
KonradSchwarz
12/07/1402:37PM
Avoidingpingpong
MichaelS
12/07/1404:37PM
Avoidingpingpong
KonradSchwarz
12/08/1404:35AM
Avoidingpingpong
KonradSchwarz
12/05/1403:30AM
Avoidingpingpong
LinusTorvalds
12/05/1412:58PM
Avoidingpingpong
EricBron
12/06/1402:42AM
Avoidingpingpong
nksingh
12/06/1403:51AM
Avoidingpingpong
EricBron
12/06/1404:08AM
Avoidingpingpong
LinusTorvalds
12/06/1401:25PM
Avoidingpingpong
nksingh
12/07/1403:26PM
Avoidingpingpong
EricBron
12/08/1404:35AM
Avoidingpingpong
Brett
12/08/1410:00AM
Avoidingpingpong
EricBron
12/08/1410:48AM
Avoidingpingpong
rwessel
12/08/1412:52PM
Avoidingpingpong
Brett
12/08/1401:58PM
Avoidingpingpong
DougS
12/08/1402:04PM
Avoidingpingpong
JouniOsmala
12/08/1402:45AM
Avoidingpingpong
anon
12/08/1405:44AM
Avoidingpingpong
JouniOsmala
12/08/1401:10PM
Avoidingpingpong
LinusTorvalds
12/08/1401:34PM
Avoidingpingpong
JouniOsmala
12/08/1403:47PM
Avoidingpingpong
LinusTorvalds
12/08/1408:08PM
Avoidingpingpong
GabrieleSvelto
12/09/1407:48AM
Avoidingpingpong
MaynardHandley
12/09/1411:41AM
Avoidingpingpong
PatrickChase
12/09/1401:06PM
Avoidingpingpong
GabrieleSvelto
12/09/1401:52PM
Avoidingpingpong
PatrickChase
12/09/1402:08PM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
RobThorpe
01/02/1508:20AM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
juanrga
01/02/1511:21AM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
EduardoS
01/02/1511:37AM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
juanrga
01/03/1512:00PM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
EricBronnli
01/02/1502:28PM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
juanrga
01/03/1512:02PM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
MichaelS
01/03/1512:36PM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
juanrga
01/03/1501:11PM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
MichaelS
01/03/1501:30PM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
EricBron
01/03/1502:57PM
KNLcache
DavidKanter
01/03/1507:36PM
KNLcache
EricBron
01/04/1503:34AM
KNLcache
MichaelS
01/04/1504:11AM
KNLcache
EricBron
01/04/1504:57AM
KNLcache
MichaelS
01/04/1505:21AM
KNLcache
EricBron
01/04/1505:58AM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
EricBron
01/03/1502:54PM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
EricBron
01/03/1502:42PM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
FakeLinusTorvalds
01/03/1512:14PM
WhyreadRWTorRedditwhenyoucangetjournaliststodoitforyou?
RobThorpe
01/03/1508:25PM
Avoidingpingpong
MaynardHandley
12/09/1411:33AM
Avoidingpingpong
PatrickChase
12/09/1401:54PM
Avoidingpingpong
MaynardHandley
12/09/1406:56PM
Avoidingpingpong
SalvatoreDeDominicis
12/09/1408:51AM
Avoidingpingpong
PatrickChase
12/09/1402:00PM
Avoidingpingpong
ook
12/11/1403:31AM
Avoidingpingpong
ArtScott
12/19/1410:19PM
Avoidingpingpong
EricBronnli
12/20/1404:05AM
Whataboutspecialization?
Troll?
01/02/1507:55AM
Whataboutspecialization?
Ungo
01/04/1503:27PM
Avoidingpingpong
fewwef
01/05/1508:16PM
Avoidingpingpong
GabrieleSvelto
12/08/1407:32PM
Avoidingpingpong
anon
12/08/1411:37PM
Avoidingpingpong
KonradSchwarz
12/10/1406:23AM
Avoidingpingpong
LinusTorvalds
12/10/1411:56AM
Objectreferencelocking
DavidW
12/08/1411:36PM
Objectreferencelocking
PatrickChase
12/09/1404:52PM
Objectreferencelocking
DavidW
12/11/1405:18AM
ISA!=interfacefor"mostprogrammers"
PaulA.Clayton
12/04/1403:34PM
ISA!=interfacefor"mostprogrammers"
rwessel
12/04/1407:50PM
Interesting!(exportinghotlines/cacheawareISA)"Pleasesir,Iwantsomemore"(NT)
PaulA.Clayton
12/04/1402:26PM
Avoidingpingpong
MichaelS
12/06/1403:48PM
ARMv8gettingatomicoperations
LinusTorvalds
12/04/1412:05PM
LL/SCidiomrecognitionisnotadmittingRMWsuperiority
PaulA.Clayton
12/04/1402:34PM
ARMv8gettingatomicoperations
anon
12/04/1410:17PM
ARMv8gettingatomicoperations
PatrickChase
12/03/1412:09PM
limitedorder
nksingh
12/04/1410:17PM
Ididn'tunderstandthiseither.(NT)
KonradSchwarz
12/04/1410:32PM
limitedorder
dmcq
12/05/1402:13AM
limitedorder
bakaneko
12/05/1409:11AM
http://www.realworldtech.com/forum/?threadid=146066&curpostid=146227
Follow@RWT
515followers
2/3
1/7/2015
RWTForums
ReplytothisTopic
Name:
Email:
Avoidingpingpong
Topic:
Body:
NoText
b
link
bquote
del
ins
img
ul
ol
li
code
more
closetags
LinusTorvalds(torvalds.delete@this.linuxfoundation.org)onDecember8,20141:34pmwrote:
>JouniOsmala(josmala.delete@this.cc.hut.fi)onDecember8,20141:10pmwrote:
>>
>>I'massumingthat90+%ofprogramsalreadyrunfastenoughandtheydon'tmatterforthis.
>>Itsallaboutaskingquestioninwhatusecurrentcomputersaretooslow,andcanyou
parallerize
>>thatorarethosecasesalreadyparallel.AndI'massumingyoucanparallerizeatleast10%
>>ofthosetimeswhereuserwaitsCPUforlongenoughtoactuallynoticeit.
>
>What'stheadvantage?
>
>Youwon'tgetscalingformuchlonger,andcurrenttrendsareactuallyforlowerpoweranyway.So
what'sthe
>upsideofpushingthewholeparallelismsnakeoil?WeknowthatweneedfairlycomplexOoOCPU's
anyway,because
>peoplewantreasonableperformanceanditturnsoutOoOisactuallymoreefficientthanslowin
order.
>
>Thewhole"let'sparallelize"thingisahugewasteofeverybody'stime.There'sthishuge
>bodyof"knowledge"thatparallelissomehowmoreefficient,andthatwholehugebodyispure
>anduttergarbage.Bigcachesareefficient.Parallelstupidsmallcoreswithoutcachesare
><i>horrible</i>unlessyouhaveaveryspecificloadthatishugelyregular(iegraphics).
>
>Nobodyisevergoingtogobackwardsfromwherewearetoday.ThosecomplexOoOcoresaren't
going
>away.Scalingisn'tgoingtocontinueforever,andpeoplewantmobility,sothecraziestalking
about
>scalingtohundredsofcoresarejustthatcrazy.Whygivethemanounceofcredibility?
>
>Wherethehelldoyouenvisionthatthosemagicalparallelalgorithmswouldbeused?
>
>Theonlyplacewhereparallelismmattersisingraphicsorontheserverside,
>wherewealreadylargelyhaveit.Pushingitanywhereelseisjustpointless.
>
>Sogiveuponparallelismalready.It'snotgoingtohappen.Endusersarefinewithroughly
>ontheorderoffourcores,andyoucan'tfitanymoreanywaywithoutusingtoomuchenergy
>tobepracticalinthatspace.Andnobodysanewouldmakethecoressmallerandweakerinorder
>tofitmoreofthemtheonlyreasontomakethemsmallerandweakerisbecauseyouwantto
>goevenfurtherdowninpoweruse,soyou'd<i>still</i>nothavelotsofthoseweakcores.
>
>Sothewholeargumentthatpeopleshouldparallelisetheircodeisfundamentallyflawed.
>Itrestsonincorrectassumptions.It'safadthathasbeengoingontoolong.
>
>ParallelcodemakessenseinthefewcasesImentioned,wherewealreadylargelyhave
>itcovered,becauseintheserverspace,peoplehavebeenparallelforalongtime.
>
>Itdoes<i>not</i>necessarilymakesenseelsewhere.Evenincompletelynewareasthatwedon't
>dotodaybecauseyoucant'affordit.Ifyouwanttodolowpowerubiquotouscomputervision
>etc,Icanprettymuchguaranteethatyou'renotgoingtodoitwithcodeonaGPCPU.You're
>likelynotevengoingtodoitonaGPUbecauseeventhatistooexpensive(powerwise),
>butwithspecializedhardware,probablybasedonsomeneuralnetworkmodel.
>
>Giveitup.Thewhole"parallelcomputingisthefuture"isabunchofcrock.
>
>Linus
Howdoyouspell
blue?
Post Preview
AboutUs
ContactUs
Reprints
AdvertiseatRWT
WriteforUs
PrivacyPolicy
ForumGuidelines
Membership
TOS
Copyright19962015RealWorldTechAllRightsReserved
http://www.realworldtech.com/forum/?threadid=146066&curpostid=146227
3/3