by vegetablepotpie on 6/8/24, 11:25 AM with 11 comments
The story I have is only 1 story point so I need something that will not take more than a day to implement. So I need something that I can change to our software and nothing weird like changing BIOS settings or anything like that where I need to get IT involved.
by fragmede on 6/8/24, 12:01 PM
though, you haven't given enough context, so I could be totally off base. if you're working on a program and there's a particular part that you've been tasked to examine, you could put the appropriate x86 asm around that code to disable pipelining, which is an interesting idea, but that's still some heavy deep optimization work that would a lot more analysis than just "disable pipelining". they spent a lot of money to put it in CPUs for a reason.
by elmerfud on 6/8/24, 11:45 AM
The reason I say there needs to be a very detailed research spike is because this is almost always the wrong solution to whatever the underlying problem is. A 1 point story with no implementation details means this came about from some pontificating around theory without any actual a/b testing.
Sorry I don't have the answer to this specific thing other than you say it seems your entire process is broken here and you need a architect or sr engineer to push back on this. At minimum to provide implementation details but ideally to actually have the research to support it.
by shoo on 6/8/24, 7:47 PM
as hypothetical product owner
given i heard about the benefits of minimising WIP to improve cashflow in manufacturing processes
and given i believe what is best in context A is also best in unrelated context B provided similar words are used
when i heard that our production CPUs use pipelining, which is a form of WIP instructions for the processor
then i wanted to disable it
so that we can unlock the cash trapped in our production server CPU instruction pipelines
by codingdave on 6/8/24, 11:53 AM
There is a definitely a process problem going on in your organization if you are here asking this question. Either you should have gotten this answer from your "long conversation with a micro architecture guy" before pointing the story, or your PO should not have said this story is ready. Or both.
by toast0 on 6/9/24, 5:45 AM
The closest you might be able to come is working to disable as much of the l1/l2/l3 caches, but I don't know if youncan do that in userland.
You might be able to do OS settings to run your cpu at a very low clock rate and pretend that's similar.
Even ancient chips like the 8088 and 6502 had some pipelining.
by jacobp100 on 6/8/24, 7:45 PM
by tuckerpo on 6/10/24, 4:11 PM
by RecycledEle on 6/8/24, 6:05 PM
If it were possible, it would be vastly more complicated than changing BIOS settings.
by brudgers on 6/8/24, 6:16 PM
What is the specific problem they are trying to solve?
What parts of the actual implementation are contributing to that problem?
Which contributing parts are less important than solving the problem?
Or to put it another way, turning off x86 pipelining is probably an X creating an XY problem.
Good luck.
by lifeinthevoid on 6/9/24, 8:47 AM