Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Performance Problems MRJ2.2 and java.net.socket/sun.net.ftp -> slow writing to the net



Hello Java Experts,

i'm still working on a java applet for MacOS 9, that is Mrj2.2.x and
Netscape 7.02. Everything we wanted to to technically (jni, signing,
dom-access) is working sufficiently well, but one thing is constantly slow
(really slow): Using java.net.socket or sun.net.ftp within MRJ. The best i
get is about 2MBytes/sec on a 100 Mbit (10MByte/sec) Ethernet. I have a
clean switched connection to the unix-server and Fetch is reaching about 8-9
MBytes/sec (upload direction). I found out that writing more than a 256KB
Buffer at once results in Opentransport Error (-3155), using ftp or socket.
Now i tried tuning the Socket a bit (with setOption) but the interesting
things are not available (Size of SendBuffer etc).
Does anybody know if and how i can manipulate mrj to get faster? Or should i
forget it? Could i succeed accessing the netscape-netlibrary somehow? T

regards
Thomas Fettig
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.