From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: Re: [PATCH] Suricata: drop unused cuda HW acceleration Date: Tue, 29 Jan 2019 14:11:21 +0100 Message-ID: <6916aabc790bad7d32974024520436ace5d4a627.camel@ipfire.org> In-Reply-To: <086629c5-299f-5c85-c650-b498024aa669@link38.eu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2385872029893760577==" List-Id: --===============2385872029893760577== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hello Peter, thanks for your patch - merged! Best regards, -Stefan > As stated in https://bugzilla.ipfire.org/show_bug.cgi?id=11808#c5 , > Cuda hardware acceleration is unused and so the configuration file > section can be removed. > > This partially addresses #11808. > > Signed-off-by: Peter Müller > Cc: Stefan Schantl > --- > config/suricata/suricata.yaml | 35 ------------------------------- > ---- > 1 file changed, 35 deletions(-) > > diff --git a/config/suricata/suricata.yaml > b/config/suricata/suricata.yaml > index 94e13f501..55b6c05cf 100644 > --- a/config/suricata/suricata.yaml > +++ b/config/suricata/suricata.yaml > @@ -933,41 +933,6 @@ profiling: > filename: pcaplog_stats.log > append: yes > > -## > -## Hardware accelaration > -## > - > -# Cuda configuration. > -cuda: > - # The "mpm" profile. On not specifying any of these parameters, > the engine's > - # internal default values are used, which are same as the ones > specified in > - # in the default conf file. > - mpm: > - # The minimum length required to buffer data to the gpu. > - # Anything below this is MPM'ed on the CPU. > - # Can be specified in kb, mb, gb. Just a number indicates it's > in bytes. > - # A value of 0 indicates there's no limit. > - data-buffer-size-min-limit: 0 > - # The maximum length for data that we would buffer to the gpu. > - # Anything over this is MPM'ed on the CPU. > - # Can be specified in kb, mb, gb. Just a number indicates it's > in bytes. > - data-buffer-size-max-limit: 1500 > - # The ring buffer size used by the CudaBuffer API to buffer > data. > - cudabuffer-buffer-size: 500mb > - # The max chunk size that can be sent to the gpu in a single go. > - gpu-transfer-size: 50mb > - # The timeout limit for batching of packets in microseconds. > - batching-timeout: 2000 > - # The device to use for the mpm. Currently we don't support > load balancing > - # on multiple gpus. In case you have multiple devices on your > system, you > - # can specify the device to use, using this conf. By default we > hold 0, to > - # specify the first device cuda sees. To find out device-id > associated with > - # the card(s) on the system run "suricata --list-cuda-cards". > - device-id: 0 > - # No of Cuda streams used for asynchronous processing. All > values > 0 are valid. > - # For this option you need a device with Compute Capability > > 1.0. > - cuda-streams: 2 > - > ## > ## Include other configs > ## --===============2385872029893760577== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUFCQ2dBZEZpRUVXTzBOWHRTcnZo YXN5dERuVHRkT0ZZK1RzdDRGQWx4UVVQa0FDZ2tRVHRkT0ZZK1QKc3Q1eWZnLytKR2UvcURENXRW eUxhQlRkYTk2YlE1NmFuY2R5bDNFa3FZdThLQlhmYm9sKzE5SU0xanVmeHBaZQp1L1RiUEtaUTlK TCsvS1dkMEVDZ0FGMklRSnR0cTRiRWFiL09oV21pWmJkbldYSE1HT0JxbG1Fek55NXJSeUwwCmVS NXJ0dVhiUnVWUjVaaGhvdlNPTVFYK0tWWE5xNGpiRXB6TGZXQTFxbnVaOWVuRXpSdms4eVVYbjFn OTl5dGoKemFMaU1ySDRPa0tEeVFOVSszaHVuazZ4RXUrQmNFbDdrbHVkaEVxRkRBUC85Z2tWT1VI SnBveno2ZzNlald2egozWkxzWTNucDVTbHdMS3ljampNd1BLYjY4QmRVNG0zRU9XdnMvK3hwbzhO dkVzWklVWW4wZE9lbnVnZTM0TC9oCjdKQS85b0hpQTNDcnI2ZysxVnFOczNYS05IckdGUUI5cXpZ ZWdva1ZjL1p2cHAwUFZqNUpZeDNlRGJXR29pZHMKZXdNL1ZGK2h2R2MwYTRYZ2xySzYwVUI1cVEy MFFzMnU5S0tqZmZTTFRFc1ZWVFJ4TUxMNDF3dzFjRFJVeVV5SAp1SU8zc3JsT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