Hudbot 5 compiler optimization

bugs_
03-24-2007, 12:03 PM
Is the hudbot 5 mem.dll built with standard optimization(/o2)?

I wonder if it would be possible for whoever is building the mem.dll - the next time
one is released could two versions of the binary be built? One with the standard /o2
so that people on pentium-3 can run it :-)

and another copy of the mem.dll compiled with /G7/arch:sse2/Ox ?

There are some little spots where I'd like to see if some performance improvement
is possible and noticeable.

insidious
03-24-2007, 03:43 PM
what

sublimezg
03-24-2007, 04:26 PM
or, we can welcome you to 2007 and you can update your calculator.

ManyLith
03-24-2007, 04:49 PM
or, we can welcome you to 2007 and you can update your calculator.

Maybe he doesn't have the cash or has something better to spend it on.

sublimezg
03-24-2007, 05:38 PM
such insight you bring

random
03-25-2007, 02:13 AM
You are asking the wrong people. There is no "hudbot team" (like you mentioned in another thread), Andrew alone made it.

His email address is at the bottom of his website (http://www.team5150.com/~andrew/).

2 public versions would probably be stupid unless the demand was high enough, and if the P3 optimizations were significant.

And yeah, he uses /O2 and /G7 among others. I think most of the "critical" optimizations use inline asm though.

I doubt /arch:SSE2 and /Ox would make any difference. Although my doubts are irrelevant, as you need to email/icq him asking for custom binaries.

Out of curiousity, what do you think could be improved?

bugs_
03-25-2007, 01:27 PM
Actually I assumed that the hudbot5 mem.dll was compiled with default
optimizations. I don't need a p-3 compatible version.

One of the boxes I was playing with recently is an XPS-710HC with dual nvidia
8800 gtx cards, quad core, factory overclocked etc. Interesting little gadget.

In any event I find that a particular software toy of mine gets locked out of the cpu
every 4 seconds or so - just briefly - not long enough to be any more than annoying
but it made me want to revisit the idea of hudbot performance improvement. When
I don't run hudbot I don't see the effect.

Maybe its already hand optimized and nothing can be done. Based on a brief lookover
of the disassembly it looks like no sse optimizations are present. If it was compiled
with default options then the floating point performance could be improved for P4
and AMD processors by using sse. Would it make a difference I don't know. Some of
my code sees a 35% performance improvement on northwood, prescott, core2duo, etc
when built with the Intel 9.x compiler and full optimizations.

LOL @ random

random
03-25-2007, 07:21 PM
what

Lemon
03-26-2007, 05:25 PM
:shrug:

NoFiX
03-26-2007, 06:15 PM
I'm sure andrew doesn't need your help optimizing his code, bugs.

random
03-27-2007, 08:43 AM
LOL @ bugs_

??

Nikita
03-27-2007, 09:50 AM
LOL

bugs_
03-27-2007, 10:21 AM
Nof-x I didn't offer my help. I asked somebody to engage in a lengthy and thankless task
of cranking up the compiler optimizations on some great code. When they do that it
probably is going to break some things. Everything would have to be re-tested. Some
source that triggers optimization bugs would have to be moved into a seperate module
that wouldn't get full optimization. At the end of the day, though, hudbot could do more
on newer hardware _or_ things running concurrent with hudbot could do more.

I know you stooges don't care but I am betting some others care.

random
03-27-2007, 11:31 AM
Back to my original question.
What do you think needs improvement in hudbot? Give examples of where/how you think hudbot can be improved. I would love to know, and I'm sure others would too.

Based on other posts of yours, you seem awfully fond of assuming something, then trying vehemently to validate your assumption without checking basic facts. When your browser crashes, is your first course of action reinstalling Windows?

I am not trying to be an asshole (it comes naturally), I just think you should run through a simple checklist before making insane posts about chaingun hacks or lag scripts.

p.s: hypothetically, if I made Hudbot/LastHope/etc, I think I'd know how to enable optimization flags.

Rosco-SS
03-27-2007, 12:50 PM
andrew coded it so that you bugs would have trouble with it, he told me himself. here's proof:

<andrew> i coded hudbot so that when bugs uses it, he would have nothing but problems
<Rosco> LOL thats so nastyyy
<andrew> ya I know, it will probably take him at least a year to figure it out too LOL
<Rosco> lol what a nooooob

Evidence is right there.

Alarik
07-31-2007, 01:08 PM
my only complaint with the current hudbot is i notice slowdown in FPS while using it (in 3rd person it works fine/without mem.dll it works fine) I am trying to figure out if it is the extra memory (i have 2gb of ram) or if it has to do with the rendering of the terrain

edit: its the rendering of the terrain... idiot.