[Q] GST support TCP on Windows?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

[Q] GST support TCP on Windows?

Chun, Sungjin
Hi,

I've installed windows binary version of GST and want to test performance
of Swazoo on windows. But when I try to load Swazoo package, it emits
DLD error. How can I fix this?

Thanks in advance.
_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [Q] GST support TCP on Windows?

Paolo Bonzini-2

> I've installed windows binary version of GST and want to test performance
> of Swazoo on windows. But when I try to load Swazoo package, it emits
> DLD error. How can I fix this?

Can you send me where is the exe and where are the tcp-3.0* files (there
should be at least .la and .dll)?

If there is none, Canol should send me his config.log file from his build.

Thanks,

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [Q] GST support TCP on Windows?

Chun, Sungjin
In reply to this post by Chun, Sungjin
I solved that problem by rebuilding GST 3.0b with MinGW. Now I can load
Swazoo package but I cannot run the test code in wiki. If I open
http://localhost:8888/helloworld.html with my firefox web browser, the system
load (examined using windows task manager) goes 100% of CPU usage.

To me, it is rather too early to use Smalltalk for creating file service server; now
I'm finding another way for doing this. T_T

Portability between Linux, Windows and Mac OS X is biggest consideration of
this project and I thought Smalltalk(Squeak or GST) might be best solution
for this work. But after some testing even Smalltalk is great environment/platform,
this kind of task might not be appropriate for it.

Thank you, if you have any suggestion or fix please let me know.



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [Q] GST support TCP on Windows?

ZuLuuuuuu
In reply to this post by Paolo Bonzini-2
Paolo Bonzini <bonzini <at> gnu.org> writes:

>
>
> > I've installed windows binary version of GST and want to test performance
> > of Swazoo on windows. But when I try to load Swazoo package, it emits
> > DLD error. How can I fix this?
>
> Can you send me where is the exe and where are the tcp-3.0* files (there
> should be at least .la and .dll)?
>
> If there is none, Canol should send me his config.log file from his build.
>
> Thanks,
>
> Paolo
>


tcp-3.0.dll is in the same folder with .exe files and .star files but I didn't
included the .la file because I didn't know that I should, what is a .la file
anyway :D

I will send the config.log file to Paolo in a few minutes.



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Canol Gökel
Reply | Threaded
Open this post in threaded view
|

Re: [Q] GST support TCP on Windows?

Paolo Bonzini-2
In reply to this post by Chun, Sungjin
> Portability between Linux, Windows and Mac OS X is biggest consideration of
> this project and I thought Smalltalk(Squeak or GST) might be best solution
> for this work. But after some testing even Smalltalk is great environment/platform,
> this kind of task might not be appropriate for it.
>
> Thank you, if you have any suggestion or fix please let me know.

It's a little sad, because this is just a portability problem and it's
exactly the case where user input can be most useful (remember that your
input led to a dramatic improvement in multi-byte character set support,
for example).  Unfortunately, until I get a decent Windows machine there
is not much that I can do about this.

Do you have a clue of where the 100% load goes (e.g. what happens if you
type Ctrl-C?).

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [Q] GST support TCP on Windows?

ZuLuuuuuu
In reply to this post by Chun, Sungjin
S.J.Chun <chunsj <at> embian.com> writes:

>
> I solved that problem by rebuilding GST 3.0b with MinGW.

I will try to update the installer in a few days.
 
> Portability between Linux, Windows and Mac OS X is biggest consideration of
> this project and I thought Smalltalk(Squeak or GST) might be best solution
> for this work.

I agree, GNU Smalltalk has 2 main lacking things which prevents it being used by
every kind of programmer: A better documentation and a better Windows installer
(I don't know about MacOS version). I will try to help solving this things
during this summer.

Compiling process is a kind of pain currently on Windows. Maybe it's just a
stupid idea but is there a cross platform solution instead of the GNU autotools?
I saw SCons (http://www.scons.org) in a few other projects, never used it though...



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Canol Gökel
Reply | Threaded
Open this post in threaded view
|

Re: [Q] GST support TCP on Windows?

Janko Mivšek
In reply to this post by Paolo Bonzini-2
Paolo Bonzini wrote:

>> Portability between Linux, Windows and Mac OS X is biggest
>> consideration of this project and I thought Smalltalk(Squeak or GST)
>> might be best solution for this work. But after some testing even
>> Smalltalk is great environment/platform, this kind of task might not
>> be appropriate for it.
>> Thank you, if you have any suggestion or fix please let me know.
>
> It's a little sad, because this is just a portability problem and it's
> exactly the case where user input can be most useful (remember that your
> input led to a dramatic improvement in multi-byte character set support,
> for example).  Unfortunately, until I get a decent Windows machine there
> is not much that I can do about this.
>
> Do you have a clue of where the 100% load goes (e.g. what happens if you
> type Ctrl-C?).

I just responded to Swazoo mailing list and the reason is probably the
same on all Smalltalks: generating a lot of small garbage, so that GC
has a plenty of work. We need to optimize POST streaming parser then an
upload performance should be similar to the download one.

Paolo, by the way, did you do some benchmarks on GST already?

Best regards
Janko

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Re: [Q] GST support TCP on Windows?

Paolo Bonzini-2
In reply to this post by ZuLuuuuuu
> Compiling process is a kind of pain currently on Windows. Maybe it's just a
> stupid idea but is there a cross platform solution instead of the GNU autotools?
> I saw SCons (http://www.scons.org) in a few other projects, never used it though...

The fact that you have to install lots of packages is unfortunately
independent of what build system you use.  What are (besides the
slowness on windows) the problems you had with the autotools?

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Re: [Q] GST support TCP on Windows?

Paolo Bonzini-2
In reply to this post by ZuLuuuuuu

> tcp-3.0.dll is in the same folder with .exe files and .star files but I didn't
> included the .la file because I didn't know that I should, what is a .la file
> anyway :D

Can you try adding it :-) and doing

   PackageLoader fileInPackage: 'TCP'

thanks!

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [Q] GST support TCP on Windows?

ZuLuuuuuu
In reply to this post by Paolo Bonzini-2
Paolo Bonzini <bonzini <at> gnu.org> writes:

>
>
> The fact that you have to install lots of packages is unfortunately
> independent of what build system you use.  What are (besides the
> slowness on windows) the problems you had with the autotools?
>
> Paolo
>


Finding and installing MinGW and MSYS is not straightforward, also MSYS looks
like abandoned or something (last .exe from year 2004. The source code of it is
updated but I couldn't install it in my last try). Unfortunately, we cannot run
away from autotools completely because we must compile Tcl/Tk and maybe some
other dependencies.

One other annoying thing is that you cannot use a program after compiling it,
directly. You should either use the MinGW command prompt to run the .exe (or it
will give errors) or pickup and place all the necessary files into a right
folder hierarchy. This kind of problems would be solved in a professional hand
and by creating an elegant installer we can save the programmers, who want to
use GST, from the setup process of a Unix like system inside Windows via MinGW.
But it is difficult for me to select the necessary files required after doing
the compile process of the dependencies and GST. It is the main difficulty I
currently have beside slowness :).



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Canol Gökel
Reply | Threaded
Open this post in threaded view
|

Re: [Q] GST support TCP on Windows?

Janko Mivšek
In reply to this post by Paolo Bonzini-2
Paolo Bonzini wrote:

>> Portability between Linux, Windows and Mac OS X is biggest
>> consideration of this project and I thought Smalltalk(Squeak or GST)
>> might be best solution for this work. But after some testing even
>> Smalltalk is great environment/platform, this kind of task might not
>> be appropriate for it.
>> Thank you, if you have any suggestion or fix please let me know.
>
> It's a little sad, because this is just a portability problem and it's
> exactly the case where user input can be most useful (remember that your
> input led to a dramatic improvement in multi-byte character set support,
> for example).  Unfortunately, until I get a decent Windows machine there
> is not much that I can do about this.
>
> Do you have a clue of where the 100% load goes (e.g. what happens if you
> type Ctrl-C?).

I just responded to Swazoo mailing list and the reason is probably the
same on all Smalltalks: generating a lot of small garbage, so that GC
has a plenty of work. We need to optimize POST streaming parser then an
upload performance should be similar to the download one.

Paolo, by the way, did you do some benchmarks on GST already?

Best regards
Janko

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Re: [Q] GST support TCP on Windows?

Paolo Bonzini-2
In reply to this post by ZuLuuuuuu

> One other annoying thing is that you cannot use a program after compiling it,
> directly. You should either use the MinGW command prompt to run the .exe (or it
> will give errors) or pickup and place all the necessary files into a right
> folder hierarchy. This kind of problems would be solved in a professional hand
> and by creating an elegant installer we can save the programmers, who want to
> use GST, from the setup process of a Unix like system inside Windows via MinGW.
> But it is difficult for me to select the necessary files required after doing
> the compile process of the dependencies and GST. It is the main difficulty I
> currently have beside slowness :).

Why don't you use something like "make install DESTDIR=`pwd`/test" to
create the necessary selection of files?

In 3.0b, you have relocatable install, so you can specify paths when
configuring, but the installation you make with DESTDIR is already
usable and can be moved around.  See the FAQ.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [Q] GST support TCP on Windows?

ZuLuuuuuu
Paolo Bonzini <bonzini <at> gnu.org> writes:

>
> Why don't you use something like "make install DESTDIR=`pwd`/test" to
> create the necessary selection of files?
>


Hmm that is a good suggestion, I didn't know about that option, I will try to
compile with that option next time :)

I should actually read the autotool's manual, I don't know almost nothing about
them except ./configure/make/make install :(



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Canol Gökel
Reply | Threaded
Open this post in threaded view
|

Re: Re: [Q] GST support TCP on Windows?

Chun, Sungjin
In reply to this post by Chun, Sungjin
It seems that I have to be more clear on my problem with GST.

1. To Janko, for squeak+swazoo case, I make it sure that the simple
helloworld.html(MyResource) example runs well but this case uploading
performance is the issue.

2. To Paolo, for gst+swazoo, I even cannot run above simple helloworld.html
example. If I can get any meaningful result from ctrl+c when gst.exe takes
100% cpu from web browser request(in fact simple telnet I can make this
happen).

Thank you very much for your interest and kind support.

----- Original Message -----
   From: Janko Mivšek <[hidden email]>
   To: GNU Smalltalk <[hidden email]>, Paolo Bonzini <[hidden email]>
   Sent: 08-07-24 20:21:29
   Subject: Re: [Help-smalltalk] [Q] GST support TCP on Windows?

  Paolo Bonzini wrote:

>> Portability between Linux, Windows and Mac OS X is biggest
>> consideration of this project and I thought Smalltalk(Squeak or GST)
>> might be best solution for this work. But after some testing even
>> Smalltalk is great environment/platform, this kind of task might not
>> be appropriate for it.
>> Thank you, if you have any suggestion or fix please let me know.
>
> It's a little sad, because this is just a portability problem and it's
> exactly the case where user input can be most useful (remember that your
> input led to a dramatic improvement in multi-byte character set support,
> for example).  Unfortunately, until I get a decent Windows machine there
> is not much that I can do about this.
>
> Do you have a clue of where the 100% load goes (e.g. what happens if you
> type Ctrl-C?).

I just responded to Swazoo mailing list and the reason is probably the
same on all Smalltalks: generating a lot of small garbage, so that GC
has a plenty of work. We need to optimize POST streaming parser then an
upload performance should be similar to the download one.

Paolo, by the way, did you do some benchmarks on GST already?

Best regards
Janko

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [Q] GST support TCP on Windows?

Janko Mivšek
In reply to this post by Chun, Sungjin
Just FYI, I almost finished optimizing the upload. I expect upload to be
as performant as download. Tomorrow.

Best regards
Janko

S.J.Chun wrote:

> It seems that I have to be more clear on my problem with GST.
>
> 1. To Janko, for squeak+swazoo case, I make it sure that the simple
> helloworld.html(MyResource) example runs well but this case uploading
> performance is the issue.
>
> 2. To Paolo, for gst+swazoo, I even cannot run above simple helloworld.html
> example. If I can get any meaningful result from ctrl+c when gst.exe takes
> 100% cpu from web browser request(in fact simple telnet I can make this
> happen).
>
> Thank you very much for your interest and kind support.
>
> ----- Original Message -----
>    From: Janko Mivšek <[hidden email]>
>    To: GNU Smalltalk <[hidden email]>, Paolo Bonzini <[hidden email]>
>    Sent: 08-07-24 20:21:29
>    Subject: Re: [Help-smalltalk] [Q] GST support TCP on Windows?
>
>   Paolo Bonzini wrote:
>>> Portability between Linux, Windows and Mac OS X is biggest
>>> consideration of this project and I thought Smalltalk(Squeak or GST)
>>> might be best solution for this work. But after some testing even
>>> Smalltalk is great environment/platform, this kind of task might not
>>> be appropriate for it.
>>> Thank you, if you have any suggestion or fix please let me know.
>> It's a little sad, because this is just a portability problem and it's
>> exactly the case where user input can be most useful (remember that your
>> input led to a dramatic improvement in multi-byte character set support,
>> for example).  Unfortunately, until I get a decent Windows machine there
>> is not much that I can do about this.
>>
>> Do you have a clue of where the 100% load goes (e.g. what happens if you
>> type Ctrl-C?).
>
> I just responded to Swazoo mailing list and the reason is probably the
> same on all Smalltalks: generating a lot of small garbage, so that GC
> has a plenty of work. We need to optimize POST streaming parser then an
> upload performance should be similar to the download one.
>
> Paolo, by the way, did you do some benchmarks on GST already?
>
> Best regards
> Janko
>

--
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Re: [Q] GST support TCP on Windows?

Chun, Sungjin
In reply to this post by Chun, Sungjin
Thank you very much. Can you let me know where can I download
the optimzied Swazoo for {Squeak|GST}?

Thank you again.

----- Original Message -----
   From: Janko Mivšek <[hidden email]>
   To: "S.J.Chun" <[hidden email]>
   Cc: GNU Smalltalk <[hidden email]>, Paolo Bonzini <[hidden email]>
   Sent: 08-07-25 07:21:12
   Subject: Re: [Help-smalltalk] [Q] GST support TCP on Windows?

  Just FYI, I almost finished optimizing the upload. I expect upload to be
as performant as download. Tomorrow.

Best regards
Janko

S.J.Chun wrote:

> It seems that I have to be more clear on my problem with GST.
>
> 1. To Janko, for squeak+swazoo case, I make it sure that the simple
> helloworld.html(MyResource) example runs well but this case uploading
> performance is the issue.
>
> 2. To Paolo, for gst+swazoo, I even cannot run above simple helloworld.html
> example. If I can get any meaningful result from ctrl+c when gst.exe takes
> 100% cpu from web browser request(in fact simple telnet I can make this
> happen).
>
> Thank you very much for your interest and kind support.
>
> ----- Original Message -----
>    From: Janko Mivšek <[hidden email]>
>    To: GNU Smalltalk <[hidden email]>, Paolo Bonzini <[hidden email]>
>    Sent: 08-07-24 20:21:29
>    Subject: Re: [Help-smalltalk] [Q] GST support TCP on Windows?
>
>   Paolo Bonzini wrote:
>>> Portability between Linux, Windows and Mac OS X is biggest
>>> consideration of this project and I thought Smalltalk(Squeak or GST)
>>> might be best solution for this work. But after some testing even
>>> Smalltalk is great environment/platform, this kind of task might not
>>> be appropriate for it.
>>> Thank you, if you have any suggestion or fix please let me know.
>> It's a little sad, because this is just a portability problem and it's
>> exactly the case where user input can be most useful (remember that your
>> input led to a dramatic improvement in multi-byte character set support,
>> for example).  Unfortunately, until I get a decent Windows machine there
>> is not much that I can do about this.
>>
>> Do you have a clue of where the 100% load goes (e.g. what happens if you
>> type Ctrl-C?).
>
> I just responded to Swazoo mailing list and the reason is probably the
> same on all Smalltalks: generating a lot of small garbage, so that GC
> has a plenty of work. We need to optimize POST streaming parser then an
> upload performance should be similar to the download one.
>
> Paolo, by the way, did you do some benchmarks on GST already?
>
> Best regards
> Janko
>

--
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [Q] GST support TCP on Windows?

Paolo Bonzini-2
S.J.Chun wrote:
> Thank you very much. Can you let me know where can I download
> the optimzied Swazoo for {Squeak|GST}?

For GST I'll make sure to merge before releasing.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk