Re: [Aide] AIDE performance problems

2015-04-09 Thread Paul Hessels
Thank you Hannes, I will give it a try.  It takes a long time to run my
tests of course.

With the old version I think I am encountering a memory leak, eventually
the aide process is using at 12G of ram and the machine dies.  Hopefully
the new version doesn't have this problem.

On Wed, Apr 8, 2015 at 3:48 PM, Hannes von Haugwitz han...@vonhaugwitz.com
wrote:

 Hi,

 On Mon, Apr 06, 2015 at 01:30:18PM -0400, Paul Hessels wrote:
  Its from debian wheezy:
 
  # aide --version
  Aide 0.15.1

 Last night I uploaded the version of Debian jessie
 (0.16~a2.git20130520-3) to wheezy-backports. Please give this version a
 try. It might perform a bit better.

 Best regards

 Hannes
 ___
 Aide mailing list
 Aide@cs.tut.fi
 https://mailman.cs.tut.fi/mailman/listinfo/aide

___
Aide mailing list
Aide@cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide


Re: [Aide] AIDE performance problems

2015-04-08 Thread Hannes von Haugwitz
Hi,

On Mon, Apr 06, 2015 at 01:30:18PM -0400, Paul Hessels wrote:
 Its from debian wheezy:
 
 # aide --version
 Aide 0.15.1

Last night I uploaded the version of Debian jessie
(0.16~a2.git20130520-3) to wheezy-backports. Please give this version a
try. It might perform a bit better.

Best regards

Hannes
___
Aide mailing list
Aide@cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide


Re: [Aide] AIDE performance problems

2015-04-06 Thread Paul Hessels
Its from debian wheezy:

# aide --version
Aide 0.15.1

Compiled with the following options:

WITH_MMAP
WITH_POSIX_ACL
WITH_SELINUX
WITH_XATTR
WITH_E2FSATTRS
WITH_LSTAT64
WITH_READDIR64
WITH_ZLIB
WITH_MHASH
CONFIG_FILE = /dev/null


On Mon, Apr 6, 2015 at 1:04 PM, Hannes von Haugwitz han...@vonhaugwitz.com
wrote:

 Hi,

 On Sun, Apr 05, 2015 at 05:11:25PM -0400, Paul Hessels wrote:
  I have a rather large dataset that I am running AIDE against. I am
 running
  AIDE on my backup server that has a bunch of systems backups on it.  The
  server in question has about 5TB of data and about 200 million files.
 
  Currently its taking about 27 hours to run.

 Which version of AIDE are you using?

 Best regards

 Hannes
 ___
 Aide mailing list
 Aide@cs.tut.fi
 https://mailman.cs.tut.fi/mailman/listinfo/aide

___
Aide mailing list
Aide@cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide


Re: [Aide] AIDE performance problems

2015-04-06 Thread Richard van den Berg

 The CPU doesn't seem to be the bottleneck.  Its about 65% idle most of the 
 time.  The process seems to be sitting in the 'D' state most of the time.

How is your RAM utilization? Aide uses memmap by default, but if your system is 
RAM starved that might not be the best way to access files. 

Kind regards,

Richard
___
Aide mailing list
Aide@cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide


Re: [Aide] AIDE performance problems

2015-04-06 Thread Paul Hessels
The system has 12G of memory and while the test is running it seems to show
about 150meg free.  I will install some tools to get better stats.

On Mon, Apr 6, 2015 at 3:14 AM, Richard van den Berg rich...@vdberg.org
wrote:


  The CPU doesn't seem to be the bottleneck.  Its about 65% idle most of
 the time.  The process seems to be sitting in the 'D' state most of the
 time.

 How is your RAM utilization? Aide uses memmap by default, but if your
 system is RAM starved that might not be the best way to access files.

 Kind regards,

 Richard
 ___
 Aide mailing list
 Aide@cs.tut.fi
 https://mailman.cs.tut.fi/mailman/listinfo/aide

___
Aide mailing list
Aide@cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide


Re: [Aide] AIDE performance problems

2015-04-06 Thread Hannes von Haugwitz
Hi,

On Sun, Apr 05, 2015 at 05:11:25PM -0400, Paul Hessels wrote:
 I have a rather large dataset that I am running AIDE against. I am running
 AIDE on my backup server that has a bunch of systems backups on it.  The
 server in question has about 5TB of data and about 200 million files.
 
 Currently its taking about 27 hours to run.

Which version of AIDE are you using?

Best regards

Hannes
___
Aide mailing list
Aide@cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide


Re: [Aide] AIDE performance problems

2015-04-05 Thread Brian Mathis
Try to split the run across multiple processes by making different
aide.conf files that covers different sets of files, then start each
process with -c config.conf and see what happens.  If it goes faster,
then you're CPU bound.  If not, then it's IO.


❧ Brian Mathis
@orev


On Sun, Apr 5, 2015 at 5:26 PM, Paul Hessels p...@hessels.ca wrote:

 I failed to mention, I am only using md5 as it stands.

 On Sun, Apr 5, 2015 at 5:50 PM, Andy Lawrence dr.die...@gmail.com wrote:

 Are you concerned with intrusion detection or only mystery bit flips?  If
 only bit flips change your hash on that directory to only md5, will be much
 faster.

 On Sun, Apr 5, 2015 at 5:11 PM, Paul Hessels p...@hessels.ca wrote:

 I have a rather large dataset that I am running AIDE against. I am
 running AIDE on my backup server that has a bunch of systems backups on
 it.  The server in question has about 5TB of data and about 200 million
 files.

 Currently its taking about 27 hours to run.  The system is 15 drives in
 raid0 with XFS.

 Oddly, the bottle neck doesn't seem to be disk.  iostat lists it as only
 25% util.  Simple dd tests suggest that percentage is right for both
 throughput and iops.

 The CPU doesn't seem to be the bottleneck.  Its about 65% idle most of
 the time.  The process seems to be sitting in the 'D' state most of the
 time.

 The number of interrupts seems reasonable...

 I don't know what to do next.  I need this to run in 20 hours or less.

 ___
 Aide mailing list
 Aide@cs.tut.fi
 https://mailman.cs.tut.fi/mailman/listinfo/aide




 --
 projecthuh.com
 Never underestimate the carelessness of boredom...
 Most people prefer Windows because most people are idiots...


 ___
 Aide mailing list
 Aide@cs.tut.fi
 https://mailman.cs.tut.fi/mailman/listinfo/aide



 ___
 Aide mailing list
 Aide@cs.tut.fi
 https://mailman.cs.tut.fi/mailman/listinfo/aide


___
Aide mailing list
Aide@cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide


Re: [Aide] AIDE performance problems

2015-04-05 Thread David Duccini
I don't think it is multi-threaded ?

Or not so by default

Sent from my iPhone

 On Apr 5, 2015, at 16:11, Paul Hessels p...@hessels.ca wrote:
 
 I have a rather large dataset that I am running AIDE against. I am running 
 AIDE on my backup server that has a bunch of systems backups on it.  The 
 server in question has about 5TB of data and about 200 million files.
 
 Currently its taking about 27 hours to run.  The system is 15 drives in raid0 
 with XFS.
 
 Oddly, the bottle neck doesn't seem to be disk.  iostat lists it as only 25% 
 util.  Simple dd tests suggest that percentage is right for both throughput 
 and iops.
 
 The CPU doesn't seem to be the bottleneck.  Its about 65% idle most of the 
 time.  The process seems to be sitting in the 'D' state most of the time.
 
 The number of interrupts seems reasonable...
 
 I don't know what to do next.  I need this to run in 20 hours or less.
 ___
 Aide mailing list
 Aide@cs.tut.fi
 https://mailman.cs.tut.fi/mailman/listinfo/aide
___
Aide mailing list
Aide@cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide


Re: [Aide] AIDE performance problems

2015-04-05 Thread Paul Hessels
I will give that a try although its far from ideal.

Not that it likely matters, but I mis-read the number of files.  Its only
20 million.

On Sun, Apr 5, 2015 at 7:51 PM, Brian Mathis 
brian.mathis+a...@betteradmin.com wrote:

 Try to split the run across multiple processes by making different
 aide.conf files that covers different sets of files, then start each
 process with -c config.conf and see what happens.  If it goes faster,
 then you're CPU bound.  If not, then it's IO.


 ❧ Brian Mathis
 @orev


 On Sun, Apr 5, 2015 at 5:26 PM, Paul Hessels p...@hessels.ca wrote:

 I failed to mention, I am only using md5 as it stands.

 On Sun, Apr 5, 2015 at 5:50 PM, Andy Lawrence dr.die...@gmail.com
 wrote:

 Are you concerned with intrusion detection or only mystery bit flips?
 If only bit flips change your hash on that directory to only md5, will be
 much faster.

 On Sun, Apr 5, 2015 at 5:11 PM, Paul Hessels p...@hessels.ca wrote:

 I have a rather large dataset that I am running AIDE against. I am
 running AIDE on my backup server that has a bunch of systems backups on
 it.  The server in question has about 5TB of data and about 200 million
 files.

 Currently its taking about 27 hours to run.  The system is 15 drives in
 raid0 with XFS.

 Oddly, the bottle neck doesn't seem to be disk.  iostat lists it as
 only 25% util.  Simple dd tests suggest that percentage is right for both
 throughput and iops.

 The CPU doesn't seem to be the bottleneck.  Its about 65% idle most of
 the time.  The process seems to be sitting in the 'D' state most of the
 time.

 The number of interrupts seems reasonable...

 I don't know what to do next.  I need this to run in 20 hours or less.

 ___
 Aide mailing list
 Aide@cs.tut.fi
 https://mailman.cs.tut.fi/mailman/listinfo/aide




 --
 projecthuh.com
 Never underestimate the carelessness of boredom...
 Most people prefer Windows because most people are idiots...


 ___
 Aide mailing list
 Aide@cs.tut.fi
 https://mailman.cs.tut.fi/mailman/listinfo/aide



 ___
 Aide mailing list
 Aide@cs.tut.fi
 https://mailman.cs.tut.fi/mailman/listinfo/aide



 ___
 Aide mailing list
 Aide@cs.tut.fi
 https://mailman.cs.tut.fi/mailman/listinfo/aide


___
Aide mailing list
Aide@cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide