Re: R: Squid-smp : Please discuss

From: Sachin Malave <sachinmalave_at_gmail.com>
Date: Tue, 15 Sep 2009 04:31:29 -0400

On Tue, Sep 15, 2009 at 2:39 AM, Guido Serassio
<guido.serassio_at_acmeconsulting.it> wrote:
> Hi,
>
>>
>> And  current generation libraries are also far better than older, like
>> OpenMP, creating threads and handling synchronization issues in OpenMP
>> is very easy...
>>
>> Automatic locks are provided, u need not to design your own locking
>> mechanisms........ Just a statement and u can lock the shared
>> variable...
>> Then the major work remains is to identify the shared access.....
>>
>> I WANT TO USE OPENMP library.............
>>
>> ANY suggestions.....
>
> Just a multi platform consideration:
>
> Don't forget that such libraries like OpenMP could not be available on
> all Squid supported platforms.
> As example, on Windows OpenMP is available only using gcc 4.3.2 and
> later or MS Visual Studio 2008.
> But MSYS + MinGW provides gcc 3.4.5 and the Squid 3 Visual Studio
> Project is based on Visual Studio 2005.
>
> So, please, we should be very careful when thinking about Squid MP.

Well, if that is so..... We will use OpenMP 2.0 standard which is
available on Visual Studio 2005 also....
Tasking model is added in 3.0 version, which has changed whole OpenMP
programming style but it is not needed in our case, I guess......
Thanks for pointing out this......

Will try to use 2.0 version. Please tell me if you have different
library in your mind.

>
> Regards
>
> Guido Serassio
> Acme Consulting S.r.l.
> Microsoft Gold Certified Partner
> Via Lucia Savarino, 1                10098 - Rivoli (TO) - ITALY
> Tel. : +39.011.9530135               Fax. : +39.011.9781115
> Email: guido.serassio_at_acmeconsulting.it
> WWW: http://www.acmeconsulting.it
>
>
>
Received on Tue Sep 15 2009 - 08:31:36 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 15 2009 - 12:00:05 MDT