I'll make sure the engineer who wrote the code sees your feedback.

Thanks for researching it.

-Eric

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Ottalini
Sent: Thursday, November 20, 2003 8:42 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [hlds] .ztmp files not updated if original changes

OK Eric here is what I just found:

test_compress.bsp 501kb
test_compress.bsp.ztmp 243kb

compress ratio is 2.06:1

 d/l time @ maxrate 5000 (conservative rate)
119 seconds uncompressed
63 seconds compressed

or about 1.89x faster

Detail:
---------
sv_filetransfercompression 0 ( no compression enabled)
     dl took "1 minute 41 seconds" actual 1 minute 59 seconds from
connect to enter according to server log.

sv_filetransfercompression 1 (compression enabled)

1.  no ztmp exists dl took "1 minute 10seconds" actual 1 minute 3
seconds from connect to enter.

2.  ztmp exists dl took "45seconds" actual 1 minute 3 seconds from
connect to enter.

3.  change bsp in server map directory to one about 3x size, same name.

4.  ztmp from previous exists, no server restart
      at client connect the server did not update the ztmp (d/l was
still original smaller map).
      client entered ok on same (old, smaller map).

5.  ztmp from previous exists, server restart (so now dif map, but old
ztmp):
    client d/l old, small (and now wrong) bsp and failed to enter with
following error:

BUILD 2582 SERVER (0 CRC)
Server # 2
Couldn't find map maps/test_compress.bsp, server will download the map
processing maps/test_compress.bsp
Error: could not load file *41
Model *41 not found
Cannot continue without model *41, disconnecting.

So in summary, the server does not update the ztmp file if the original
changes.

IE: Server admins will need to remember to delete off old ztmp files if
they update content on their servers.

qUiCkSiLvEr

----- Original Message -----
From: Eric Smith
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 7:17 PM
Subject: RE: [hlds] .ztmp files

I would guess the .ztmp file is recreated if the file changes, but since
I didn't write the code I'll have to follow-up with the engineer who
did.

-Eric


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to