« first day (4944 days earlier)      last day (18 days later) » 

4:23 AM
@LandonZeKepitelOfGreytBritn The beginning of that is manually unrolling loops. The number of iterations you unroll depends on the pipeline you're working with. E.g., stackoverflow.com/a/17036402/179910
When you get more ambitious, you can do things like changing operations a bit to fit with what's available on a particular target. For example, I'd sometimes turned a single multiply into a fake multiply/accumulate, so the latter would run on dedicated FMAC hardware. Doing a single multiply that way tends to increase latency of that operation, but can still increase throughput by doing more operations in parallel.
Manual loop unrolling is usually pretty safe--unrolling "too many" iterations will just increase code size a bit with (almost) no speed benefit. Changing operations to get it to recognize something as a MAC can be detrimental on a CPU that doesn't have MAC hardware (in this case, MAC = multiply/accumulate).
 
 
4 hours later…
8:55 AM
After hours of thinking about some fundamental robotics problems, I come to the conclusion - one of the biggest forces against what current modern human technology can achieve, is gravity!
 
 
5 hours later…
1:55 PM
@JerryCoffin it can also overflow icache and cause problems there too
 
 
2 hours later…
3:26 PM
@Mgetz That's always a possibility, but it's fairly unusual. The sort of loop you'd normally unroll will typically be only handful of instructions per iteration, so even the unrolled version is typically only something like a couple dozen instructions. So while it's a possibility, it's not particularly common.
 
3:36 PM
@JerryCoffin I guess I've seen both causing issues dependent on architecture. I've seen some where unrolling if the stock loop fits in the micro op cache is slower. I've also seen others where if the loop could never fit in the micro op cache but does fit in the icache it's faster etc.
 
 
2 hours later…
5:36 PM
 
 
2 hours later…
7:22 PM
also btw most arm chips get some fraction of the perf of x86
 
7:33 PM
@Mikhail ye... people forget if you want the perf of x86 you generally have the heat and power of x86 too
 
Yeah one antipattern is people choosing to use arm for appliance like devices, when it would be easier to just use x86
For example, there are a bunch of ARM boards with a lot of IO
all for them are garbage
 
@Mikhail the problem with x86 is there are really only two main vendors and a few minor vendors. The minor vendors perf is well.. garbage
that is honestly the major reason to consider alternatives
The Vortex86 is a computing system-on-a-chip (SoC) based on a core compatible with the x86 microprocessor family. It is produced by DM&P Electronics, but originated with Rise Technology. == History == Vortex86 previously belonged to SiS, which got the basic design from Rise Technology. SiS sold it to DM&P Electronics in Taiwan. Before adopting the Vortex86 series, DM&P manufactured the M6117D, an Intel 386SX compatible, 25–40 MHz SoC. == CPU == Vortex86 CPUs implement the IA-32 architecture but which instructions are implemented varies depending on the model. Vortex86SX and the early versions...
 
 
1 hour later…
8:46 PM
I found a syntax error in Tony Startk's software. I was watching iron man 1 and while ironman had to escape from his captivity they filmed a part of the software running on his system:
fprintf with no arguments and no semicolon? (34 minutes into the movie) You're welcome!
Seems like my job here is done
hmmm, maybe it is tprintf and not fprintf. Doesn't invalidate my point, but I had never heard about tprintf
 
9:08 PM
@Mgetz I've basically seen expensive servers which cost maybe $100k+ running on what is basically a raspberry pi:-)
 
@Mikhail well.. lots of them technically if you're referring to
Ampere
or are you literally referring to Graviton?
 
NDA ;-0)
but basically you have this circlejerk where after deciding to use cheapo arm chips you need to hire a bunch of build and optimization people
then a year later everybody says what a good job they did fixing a problem they created
this is why I hate ARM
</typed on a M3 :-)
 
@Mikhail well 95% of the ARM64 implementations I've seen are crap and playing on the myth of ARM using less power
 
 
1 hour later…
10:40 PM
@LandonZeKepitelOfGreytBritn man.freebsd.org/cgi/…
 
11:21 PM
@LandonZeKepitelOfGreytBritn Hollywood is notoriously uncreative and will just use existing source. IIRC once they used the source of the yahoo homepage in a hacking sequence... I believe Yahoo was not pleased.
 

« first day (4944 days earlier)      last day (18 days later) »