hkaiser changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar-group.org | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | This channel is logged: irclog.cct.lsu.edu
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 248 seconds]
K-ballo1 is now known as K-ballo
Yorlik_ has joined #ste||ar
Yorlik has quit [Ping timeout: 252 seconds]
hkaiser has quit [Quit: Bye!]
Neeraj has joined #ste||ar
<Neeraj>
Hi @all mentor, I would be grateful if you could spare a few minutes to review my proposal and provide feedback.
Arnav-Negi has joined #ste||ar
<satacker[m]>
<Neeraj> "Hi @all mentor, I would be..." <- Sure, please ping me.
<Neeraj>
satacker[m] , hi sir can you review my proposal, and give me some feedback
<Arnav-Negi>
satacker[m] Hi I had a use case in mind should i put it here or in a query to you?
matrixb01x has joined #ste||ar
matrixb01x has quit [Client Quit]
<satacker[m]>
<Neeraj> "satacker , hi sir can you review..." <- Please refrain from addressing me as Sir.
<satacker[m]>
<Arnav-Negi> "satacker Hi I had a use case..." <- You can put it right here. Need not worry.
Neeraj has quit [Quit: Client closed]
HHN93 has joined #ste||ar
HHN93 has quit [Ping timeout: 260 seconds]
HHN93 has joined #ste||ar
HHN93 has quit [Ping timeout: 260 seconds]
HHN93 has joined #ste||ar
HHN93 has quit [Quit: Client closed]
<Arnav-Negi>
satacker[m] I was thinking about using async I/O in a server-client model for the server to handle client connections asynchronously
<Arnav-Negi>
I can formulate this better in some time if the idea seems okay to you
<satacker[m]>
Yes, this seems to be better than the game stuff you proposed earlier, although the mechanism is in most cases server-client. But go on, elaborate more.
HHN93 has joined #ste||ar
<Arnav-Negi>
Yeah is it fine if I elaborate after 2-3 hours?
<Arnav-Negi>
Also "although the mechanism is in most cases server-client" I didn't get what this means
HHN93 has quit [Ping timeout: 260 seconds]
<satacker[m]>
By that I meant that it's a common use case; there are many applications that rely on server-client model. Thus you'll have to elaborate.
<Arnav-Negi>
Ohh yeah sure
<zao>
On frame processing - HPX and games are a weird mix as there's a fair amount of stuff that has thread affinity there and you'd have to mix a traditional game loop and message pump with HPX threads without them bogging the main thread down. I never managed to figure out how to weave in HPX, despite people here advising me on how it might be done.
<zao>
That might say more about my ability though :D
<satacker[m]>
zao: :D
<satacker[m]>
Also, do you have any suggestions for Async I/O P2300 and coroutines?
<HHN93>
What is the procedure to submit GSoC proposal? simple fill it on the gsoc website?
<HHN93>
or do we have to send it to any mailing list?
<satacker[m]>
You should be able to see your status on summerofcode dasboard
<satacker[m]>
There's no need to mail anything to anyone
<HHN93>
oh ok, some other organisations require you to mail it so wanted confirm if ste||ar requires us to do it too
HHN93 has quit [Ping timeout: 260 seconds]
matrixbot43 has joined #ste||ar
matrixbot43 has quit [Client Quit]
matrixb0tx has joined #ste||ar
HHN93 has joined #ste||ar
<HHN93>
how can we get cmake to output assembly?
<HHN93>
obj dump works but I want the compiler to generate .asm with the -fverbose-asm
matrixb0tx has quit [Client Quit]
HHN93 has quit [Client Quit]
<zao>
I'd reckon that one of the least horrible solutions is probably to do a verbose or no-op build and copy+modify the compiler invocation it does.
<zao>
Ooh, you could even replace the compiler with a small script that looks at its command line and runs it twice, once with -S -fverbose-asm and once to compile the actual thing :D
<zao>
(all great solutions, I'm sure)
<zao>
As for getting it to do it properly, I for one do not want to dig into CMake deeper than I need to.
<K-ballo>
i doubt there's a "proper" way, cmake builds binaries
<K-ballo>
it may be able to dump assembly on the side, or even generate assembly while failing to actually build
prakhar has joined #ste||ar
<Arnav-Negi>
satacker[m] So in a multithreaded server model, the server application creates threads for each client connection
<Arnav-Negi>
and then there is an I/O operation for the request
<Arnav-Negi>
Instead we can do this using a thread pool and coroutines along to implement asynchronous I/O
<Arnav-Negi>
This would ensure the server is always doing constructive work since it doesnt have to wait for I/O
<Arnav-Negi>
I would love to have some feedback on this, I might also be able to add S/R to the use case once I read more documentation on P2300
hkaiser has joined #ste||ar
<satacker[m]>
Does HPX have thread pools?
<satacker[m]>
gonidelis: any suggestions for the use case?
<hkaiser>
satacker[m]: all of hpx is a giant thread pool ;-)
<satacker[m]>
:-) well, umm, ...
<hkaiser>
satacker[m]: what are you looking for?
<satacker[m]>
Some libraries define threadpool as a constant number of threads that run in parallel and keep the incoming work spinning between those.
<hkaiser>
yes, that's what hpx does
<hkaiser>
you can also create more than one pool to separate NUMA domains, for instance
<satacker[m]>
Okay, time for revelation, for the project that was an example, I was expecting to use more than one Numa domain and read large scale graphs, i.e. simply use BFS/DFS/etc. And process the required node stored on disk.
<satacker[m]>
In this example, BFS/DFS/etc will use S/R facilities, I/O will be done with io_uring and coroutines.
<satacker[m]>
srinivasyadav18: hkaiser: anything better that comes to your mind?
<hkaiser>
sounds nice, gonidelis[m] works on porting the NWGraph library to HPX, this might be a nice combination
<satacker[m]>
GSoC students, everything is out now, it's up to you to take this project discussion ahead.
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 265 seconds]
K-ballo1 is now known as K-ballo
prakhar has quit [Quit: Ping timeout (120 seconds)]
<Arnav-Negi>
Has parallelized FFT been implemented as an example yet?
Arnav-Negi has quit [Quit: Konversation terminated!]
prakhar has joined #ste||ar
prakhar has quit [Quit: Client closed]
Arnav-Negi has joined #ste||ar
Arnav-Negi has quit [Quit: Konversation terminated!]