PDA

View Full Version : 5.6.x


darkone
01-27-2004, 01:06 AM
I just finished testing the new routines I've been writing for last ~week. Expect release tomorrow.

I also spent time on looking for possible bottlenecks in code. Only real issue left, is amount of simultanous io requests on sockets - system runs too quickly out of buffer space. With minor tweaking of buffer sizes, I was able to get 2500 users online (of which 2300+ were downloading). By limiting sends to few hundred, I'd execpt io to be able to handle 5-10k clients.

ChangeLog:

All
-Change: Another code layer was added to socket handling
-Change: Nearly all blocking (cpu intensive/waiting) actions were moved outside the io threads
-Change: Minor optimizations
-Fix: Having more than one 'context' for directory did not work

Ftp
-Change: io code rewritten
-Change: client job managment redesigned
- Fix: Socket read was posted before socket write on login, which could have caused crash on transfer error

Telnet
-Change: io code rewritten
-Change: client job managment redesigned
-Fix: Socket read was posted before socket write on login, which could have caused crash on transfer error

Http
-Change: Disabled for now

Tcl
-Fix: vfs write, used uid for gid.

Luke
01-27-2004, 06:13 AM
Goodies, cant wait.

Hmm.... This new core performance is tested on a WinXP machine ?, since i dunno what diff.it is form xp and 2k3 filesystem.

:(

darkone
01-27-2004, 10:15 AM
Just win2k3 for now.. however difference between XP and 2k3 isn't that great.

fobban
01-27-2004, 01:33 PM
0o0o0 nice!! can't wait :>
5.5.6 works nice here tho, but allways nice with new versions ^^
keep it up man

darkone
01-27-2004, 02:22 PM
go get it :) this should also address those tcl module (package) problems

b>d>>s
01-27-2004, 05:49 PM
01-27-2004 22:45:46 "..\scripts\badaazs\badaazs.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't find package mkZiplib 1.0
while executing
"package require mkZiplib 1.0"
(file "..\scripts\badaazs\badaazs.itcl" line 1)
------------------------------------------------------------------

also:

this been happening for last version & this (and maybe before), that when u make a file via itcl it wont show up, unless you restart server, or repeat action that made the file (ioAutoNUKE.itcl proves this). When dir is banned then nuked dir made, 0byte file inside doesnt appear until restart or repeat. Then all files are made normally.

darkone
01-27-2004, 06:12 PM
Originally posted by b>d>>s
01-27-2004 22:45:46 "..\scripts\badaazs\badaazs.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't find package mkZiplib 1.0
while executing
"package require mkZiplib 1.0"
(file "..\scripts\badaazs\badaazs.itcl" line 1)
------------------------------------------------------------------


I will try to investigate this soon. It's possible, that not all libraries are written using thread safe code. You could also try, if copying lib directory inside system directory helps.



also:

this been happening for last version & this (and maybe before), that when u make a file via itcl it wont show up, unless you restart server, or repeat action that made the file (ioAutoNUKE.itcl proves this). When dir is banned then nuked dir made, 0byte file inside doesnt appear until restart or repeat. Then all files are made normally.

Forcing daemon to flush the directory cache should do the trick: vfs flush <path>.

b>d>>s
01-27-2004, 06:46 PM
ah yeh, forgot about flush .. works.

copying libs didnt work ..

darkone
01-28-2004, 12:36 AM
All:
-Fix: Client job manager had potential bug

Ftp:
-Change: Optimized ftp command locator
-Change: [FTP_Pre-Command_Events] are no longer called, if user does not have access to command (ini permissions/not logged in)

darkone
01-28-2004, 01:06 AM
5.6.2

All:
-Fix: Sending line longer than 1024characters caused line parser to split command into several commands, while it should have truncated the line.

Luke
01-28-2004, 03:25 PM
:banana:

Darn, dark0ne, what did you do. Is working now !

;)

darkone
01-28-2004, 11:23 PM
Originally posted by b&gt;d&gt;&gt;s
ah yeh, forgot about flush .. works.

copying libs didnt work ..

Now it's working for sure :) (5.6.4)

b>d>>s
01-29-2004, 08:22 PM
Originally posted by darkone
Now it's working for sure :) (5.6.4)

yup :)

thanks

zpr
01-30-2004, 02:22 AM
5.6.4? where?

DaPhreak
01-30-2004, 04:03 AM
hehe ..

at d1's machine :D

darkone
01-30-2004, 07:17 AM
Nowhere.. it's 5.6.3 :p just thought it's 5.6.4 :)

edit: 5.6.3 => 5.6.4 .. bleh :p

kraxdaz
02-01-2004, 04:58 AM
very nice d1 :p