Re: [Gambas-user] Gambas performances

2009-08-17 Thread Olivier Cruilles
I will try to change it but if I remember exactly, it was the snmpget with more than one OIDs in the list that does not understand correctly with the EXEC command. And it works perfectly with SHELL command. Example: /usr/bin/snmpget - c public - v 2c 198.168.0.3 enterprises.ucdavis.52.10

Re: [Gambas-user] Gambas performances

2009-08-17 Thread Benoît Minisini
> I tried the both solutions: SHELL and EXEC, but the parameters used > are not the same for each command executed. > > So, after many tries, I the EXEC command give me errors during > execution because it's very difficult to play with the character " or > ' in the command. You just have to replac

Re: [Gambas-user] Gambas performances

2009-08-17 Thread Olivier Cruilles
I tried the both solutions: SHELL and EXEC, but the parameters used are not the same for each command executed. So, after many tries, I the EXEC command give me errors during execution because it's very difficult to play with the character " or ' in the command. I know that the EXEC command

Re: [Gambas-user] Gambas performances

2009-08-17 Thread Benoît Minisini
> I measure the time to execute 730 snmpget commands started as process > (SHELL command) in a Gambas program. Why do you use SHELL to run snmpget? It runs the command inside "/bin/sh", which is very heavy. > > > In the first time I start 20 processes in the same time and when one > is finished,

Re: [Gambas-user] Gambas performances

2009-08-17 Thread nando
My question is: are you really testing Gambas or kernel networking (snmp)?? -- Original Message --- From: Olivier Cruilles To: mailing list for gambas users Sent: Mon, 17 Aug 2009 20:27:44 +0200 Subject: [Gambas-user] Gambas performances > Hello Benoit, > > Just a

Re: [Gambas-user] Gambas performances

2009-08-17 Thread Olivier Cruilles
I measure the time to execute 730 snmpget commands started as process (SHELL command) in a Gambas program. In the first time I start 20 processes in the same time and when one is finished, I start a new one to follow the list of requests to execute. I measure the time from the first process

Re: [Gambas-user] Gambas performances

2009-08-17 Thread Benoît Minisini
> Hello Benoit, > > Just a question about performances of Gambas 2.14 on Fedora 10 > x86_32 (32bits) > > I'm trying my scheduler written in Gambas on Fedora 10 on 3 > differentes machines: > > 1) 1x Celeron 2.6 Ghz512Mb Ram (simple PC) > > Time to execute 730 snmp requests: around 49

[Gambas-user] Gambas performances

2009-08-17 Thread Olivier Cruilles
Hello Benoit, Just a question about performances of Gambas 2.14 on Fedora 10 x86_32 (32bits) I'm trying my scheduler written in Gambas on Fedora 10 on 3 differentes machines: 1) 1x Celeron 2.6 Ghz512Mb Ram (simple PC) Time to execute 730 snmp requests: around 49 sec 2) 1x