Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: users

Optimization-CFLAGS [Database reload improvement]

 

 

ClamAV users RSS feed   Index | Next | Previous | View Threaded


preen at informatik

Mar 11, 2011, 4:00 AM

Post #1 of 1 (231 views)
Permalink
Optimization-CFLAGS [Database reload improvement]

Martin Preen wrote:
> Török Edwin wrote:
>> On 2011-03-10 21:58, Peter Bonivart wrote:
>>> On Thu, Mar 10, 2011 at 8:52 PM, Martin Preen
>>> <preen [at] informatik> wrote:
>>>> Platform information
>>>> --------------------
>>>> uname: solaris2.10
>>>> OS: solaris2.10, ARCH: sparc, CPU: sparc
>>>> Full OS version: Solaris 10 1/06
>>>> s10s_u1wos_19a SPARC
>>>> zlib version: 1.1.4 (1.1.4)
>>>> platform id: 0x0e663c3c1400000000000580
>>>>
>>>> Build information
>>>> -----------------
>>>> Sun studio: (0.5.128)
>>>> CPPFLAGS: -I/opt/bzip2/include
>>>> CFLAGS: -g
>>>> CXXFLAGS:
>>
>> Your ClamAV is not optimized at all according to these flags.
>
> I re-compiled with '-xO2' (Sun Compiler). That gave a 50% speedup
> for the database reaload times (90s instead of 3 min). With -xO3
> 'make check' fails. Tomorrow I'll try more flags.

With "-xtarget=ultra" the reload times are still the same,
but the scan times seems to be better (I have no exact numbers).

I tried a 64bit-build with "-xarch=v9 -xcode=pic13", but
then 'make check' failed.

I have no further ideas yet and I'll change the hardware to
some newer CPU's anyway. So I stop it for now.

Thanks,
Martin

---------------------------------------------------------------
Martin Preen, Universität Freiburg, Institut für Informatik
Georges-Koehler-Allee 52, Raum EG-006, 79110 Freiburg, Germany

phone: ++49 761 203-8250 preen [at] informatik
fax: ++49 761 203-8242 www.informatik.uni-freiburg.de

ClamAV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.