[rules-users] Drools and GPU

2014-05-19 Thread Anton Hughes
Hi all

We have finding drools to be very resource hungry - and we are looking at
having to have very many servers just to satisfy our drools requirements.
So I am wondering, has anyone experimented with running drools on a GPU
server?

Thanks and regards
Anton
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Drools and GPU

2014-05-19 Thread Wolfgang Laun
Graphics Processing Unit???
Gosudarstvennoe Politicheskoe Upravlenie??

So as not to appear too derogative, let me ask how this resource
hunger exhibits itself. Very frequently, some misconception w.r.t.
rule structure and/or
data model results in an inadequate resource consumptation that might
easily have avoided.

-W

On 19/05/2014, Anton Hughes kurren...@gmail.com wrote:
 Hi all

 We have finding drools to be very resource hungry - and we are looking at
 having to have very many servers just to satisfy our drools requirements.
 So I am wondering, has anyone experimented with running drools on a GPU
 server?

 Thanks and regards
 Anton

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Drools and GPU

2014-05-19 Thread Vítor Rui Moreira
I agree with Wolfgang...

My first version of the rules regarding expiration of events in a length 
sliding windows took 120s in my benchmark.
After thinking a little bit, the second version took 2s. Changed 
dramatically the behavior of the application, now can process several 
thousands of events in no time!

If I were you, my first try was to optimize the rules, doing some 
benchmark/profiling, to know where the bottleneck is.

Just my 2c,
Vítor Rui Moreira

On 19/05/2014, 18:31, Wolfgang Laun wrote:
 Graphics Processing Unit???
 Gosudarstvennoe Politicheskoe Upravlenie??

 So as not to appear too derogative, let me ask how this resource
 hunger exhibits itself. Very frequently, some misconception w.r.t.
 rule structure and/or
 data model results in an inadequate resource consumptation that might
 easily have avoided.

 -W

 On 19/05/2014, Anton Hughes kurren...@gmail.com wrote:
 Hi all

 We have finding drools to be very resource hungry - and we are looking at
 having to have very many servers just to satisfy our drools requirements.
 So I am wondering, has anyone experimented with running drools on a GPU
 server?

 Thanks and regards
 Anton

 




Declaração:
A informação contida nesta mensagem, e os ficheiros anexos, é privilegiada e 
confidencial, destinando-se exclusivamente ao(s) destinatário(s).Se não é o 
destinatário (ou o responsável pela sua entrega ao destinatário) e recebeu a 
mesma por engano, fica notificado que é estritamente proibido reproduzir, 
guardar ou distribuir toda ou qualquer parte desta mensagem e ficheiros anexos. 
Por favor reencaminhe a mensagem para o responsável pelo seu envio ou 
contacte-nos por telefone e elimine a mensagem e ficheiros anexos do seu 
computador, sem os reproduzir. 
 
Disclaimer:
The information contained in this message, and any files attached, is 
privileged and confidential, and intended exclusively for the included 
addresses. If you are not the intended recipient (or the person responsible for 
delivering to the intended recipient) and received this message by mistake, be 
aware that copy, storage, distribution or any other use of all or part of this 
message and the files attached is strictly prohibited. Please notify the sender 
by reply e-mail or contact us by telephone and delete this message and the 
files attached, without retaining a copy.



___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users




___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Drools and GPU

2014-05-19 Thread Mark Proctor
GPUs do not allow state/reference sharing. So it’s not as ideal as you think.

Mark
On 19 May 2014, at 18:16, Anton Hughes kurren...@gmail.com wrote:

 Hi all
 
 We have finding drools to be very resource hungry - and we are looking at 
 having to have very many servers just to satisfy our drools requirements. So 
 I am wondering, has anyone experimented with running drools on a GPU server?
 
 Thanks and regards
 Anton
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Drools and GPU

2014-05-19 Thread jonathan MERCIER
About rule structure and / or, i thought that builded graph was in
conjunctive normal form to avoid this problem!? 
Should we use conjunctive normal form as is recommended into tho old
CLIPS ?



Le lundi 19 mai 2014 à 19:31 +0200, Wolfgang Laun a écrit :
 Graphics Processing Unit???
 Gosudarstvennoe Politicheskoe Upravlenie??
 
 So as not to appear too derogative, let me ask how this resource
 hunger exhibits itself. Very frequently, some misconception w.r.t.
 rule structure and/or
 data model results in an inadequate resource consumptation that might
 easily have avoided.
 
 -W
 
 On 19/05/2014, Anton Hughes kurren...@gmail.com wrote:
  Hi all
 
  We have finding drools to be very resource hungry - and we are looking at
  having to have very many servers just to satisfy our drools requirements.
  So I am wondering, has anyone experimented with running drools on a GPU
  server?
 
  Thanks and regards
  Anton
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Drools and GPU

2014-05-19 Thread Wolfgang Laun
There is neither a golden rule nor a silver bullet. Understanding
what a rule does on the assembly of your facts is crucial. You may get
by, happily, with an occasional deviation from some normal form, and
you may be bitten, severely, by constantly  neglecting it.
-W



On 19/05/2014, jonathan MERCIER jmerc...@genoscope.cns.fr wrote:
 About rule structure and / or, i thought that builded graph was in
 conjunctive normal form to avoid this problem!?
 Should we use conjunctive normal form as is recommended into tho old
 CLIPS ?



 Le lundi 19 mai 2014 à 19:31 +0200, Wolfgang Laun a écrit :
 Graphics Processing Unit???
 Gosudarstvennoe Politicheskoe Upravlenie??

 So as not to appear too derogative, let me ask how this resource
 hunger exhibits itself. Very frequently, some misconception w.r.t.
 rule structure and/or
 data model results in an inadequate resource consumptation that might
 easily have avoided.

 -W

 On 19/05/2014, Anton Hughes kurren...@gmail.com wrote:
  Hi all
 
  We have finding drools to be very resource hungry - and we are looking
  at
  having to have very many servers just to satisfy our drools
  requirements.
  So I am wondering, has anyone experimented with running drools on a GPU
  server?
 
  Thanks and regards
  Anton
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Drools and GPU

2014-05-19 Thread kurrent93
Yes, we have done some benchmarking and profiling. And we have found some
improvements.

We are processing a lot of data. We receive price changes from foreign
exchange markets, and have customers who have automated trading strategies
using this data as facts in individual drools sessions. 

Ok, we will keep looking to optimize, however I am doubtful that we will see
much improvement. 



--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-Drools-and-GPU-tp4029607p4029615.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users