Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados
| Ano de defesa: | 2017 |
|---|---|
| Autor(a) principal: | |
| Orientador(a): | |
| Banca de defesa: | |
| Tipo de documento: | Dissertação |
| Tipo de acesso: | Acesso aberto |
| Idioma: | por |
| Instituição de defesa: |
Universidade Federal de Sergipe
|
| Programa de Pós-Graduação: |
Pós-Graduação em Ciência da Computação
|
| Departamento: |
Não Informado pela instituição
|
| País: |
Brasil
|
| Palavras-chave em Português: | |
| Palavras-chave em Inglês: | |
| Área do conhecimento CNPq: | |
| Link de acesso: | https://ri.ufs.br/handle/riufs/3353 |
Resumo: | The Intrusion Detection System (IDS) needs to compare the contents of all packets arriving at the network interface with a set of signatures for indicating possible attacks, a task that consumes much CPU processing time. In order to alleviate this problem, some researchers have tried to parallelize the IDS's comparison engine, transferring execution from the CPU to GPU. This This dissertation aims to parallelize the Brute Force and Aho-Corasick string matching algorithms and to propose a new compression of the State Transition Table of the Aho-Corasick algorithm in order to make it possible to use it in shared memory and accelerate the comparison of strings. The two algorithms were parallelized using the NVIDIA CUDA platform and executed in the GPU memories to allow a comparative analysis of the performance of these memories. Initially, the AC algorithm proved to be faster than the Brute Force algorithm and so it was followed for optimization. The AC algorithm was compressed and executed in parallel in shared memory, achieving a performance gain of 15% over other GPU memories and being 48 times faster than its serial version when testing with real network packets. When the tests were done with synthetic data (less random data) the gain reached 73% and the parallel algorithm was 56 times faster than its serial version. Thus, it can be seen that the use of compression in shared memory becomes a suitable solution to accelerate the processing of IDSs that need agility in the search for patterns. |
| id |
UFS-2_f25a8a9ddac0fb6aeb088f1c2ddbda43 |
|---|---|
| oai_identifier_str |
oai:oai:ri.ufs.br:repo_01:riufs/3353 |
| network_acronym_str |
UFS-2 |
| network_name_str |
Repositório Institucional da UFS |
| repository_id_str |
|
| spelling |
Silva Júnior, José Bonifácio daMoreno Ordonez, Edward David2017-09-26T11:34:24Z2017-09-26T11:34:24Z2017-06-21SILVA JÚNIOR, José Bonifácio da. Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados. 2017. 72 f. Dissertação (Mestrado em Ciência da Computação) - Universidade Federal de Sergipe, São Cristóvão, SE, 2017.https://ri.ufs.br/handle/riufs/3353The Intrusion Detection System (IDS) needs to compare the contents of all packets arriving at the network interface with a set of signatures for indicating possible attacks, a task that consumes much CPU processing time. In order to alleviate this problem, some researchers have tried to parallelize the IDS's comparison engine, transferring execution from the CPU to GPU. This This dissertation aims to parallelize the Brute Force and Aho-Corasick string matching algorithms and to propose a new compression of the State Transition Table of the Aho-Corasick algorithm in order to make it possible to use it in shared memory and accelerate the comparison of strings. The two algorithms were parallelized using the NVIDIA CUDA platform and executed in the GPU memories to allow a comparative analysis of the performance of these memories. Initially, the AC algorithm proved to be faster than the Brute Force algorithm and so it was followed for optimization. The AC algorithm was compressed and executed in parallel in shared memory, achieving a performance gain of 15% over other GPU memories and being 48 times faster than its serial version when testing with real network packets. When the tests were done with synthetic data (less random data) the gain reached 73% and the parallel algorithm was 56 times faster than its serial version. Thus, it can be seen that the use of compression in shared memory becomes a suitable solution to accelerate the processing of IDSs that need agility in the search for patterns.Um Sistema de Detecção de Intrusão (IDS) necessita comparar o conteúdo de todos os pacotes que chegam na interface da rede com um conjunto de assinaturas que indicam possíveis ataques, tarefa esta que consome bastante tempo de processamento da CPU. Para amenizar esse problema, tem-se tentado paralelizar o motor de comparação dos IDSs transferindo sua execução da CPU para a GPU. Esta dissertação tem como objetivo fazer a paralelização dos algoritmos de comparação de strings Força-Bruta e Aho-Corasick e propor uma nova compactação da Tabela de Transição de Estados do algoritmo Aho-Corasick a fim de possibilitar o uso dela na memória compartilhada e acelerar a comparação de strings. Os dois algoritmos foram paralelizados utilizando a plataforma CUDA da NVIDIA e executados nas memórias da GPU a fim de possibilitar uma análise comparativa de desempenho dessas memórias. Inicialmente, o algoritmo AC mostrou-se mais veloz do que o algoritmo Força-Bruta e por isso seguiu-se para sua otimização. O algoritmo AC foi compactado e executado de forma paralela na memória compartilhada, alcançando um ganho de desempenho de 15% em relação às outras memórias da GPU e sendo 48 vezes mais rápido que sua versão na CPU quando os testes foram feitos com pacotes de redes reais. Já quando os testes foram feitos com dados sintéticos (dados menos aleatórios) o ganho chegou a 73% e o algoritmo paralelo chegou a ser 56 vezes mais rápido que sua versão serial. Com isso, pode-se perceber que o uso da compactação na memória compartilhada torna-se uma solução adequada para acelerar o processamento de IDSs que necessitem de agilidade na busca por padrões.application/pdfporUniversidade Federal de SergipePós-Graduação em Ciência da ComputaçãoUFSBrasilCiência da computaçãoComputação de alto desempenhoArquitetura de computadorSegurança da informaçãoGPUSCUDAAlgoritmos de comparação de stringsAho-CorasickIDSHierarquia de memória da GPUTécnicas de compactaçãoString matching algorithmsAho-CorasickGPU memory hierarchyCompaction techniquesCIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAOParalelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estadosinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisinfo:eu-repo/semantics/openAccessreponame:Repositório Institucional da UFSinstname:Universidade Federal de Sergipe (UFS)instacron:UFSTEXTJOSE_BONIFACIO_SILVA_JUNIOR.pdf.txtJOSE_BONIFACIO_SILVA_JUNIOR.pdf.txtExtracted texttext/plain133834https://ri.ufs.br/jspui/bitstream/riufs/3353/2/JOSE_BONIFACIO_SILVA_JUNIOR.pdf.txt2fc4bb5a2186de45a9ac72a6694cddcbMD52THUMBNAILJOSE_BONIFACIO_SILVA_JUNIOR.pdf.jpgJOSE_BONIFACIO_SILVA_JUNIOR.pdf.jpgGenerated Thumbnailimage/jpeg1322https://ri.ufs.br/jspui/bitstream/riufs/3353/3/JOSE_BONIFACIO_SILVA_JUNIOR.pdf.jpga27175d5c9a20cea5777dc61085fe2dfMD53ORIGINALJOSE_BONIFACIO_SILVA_JUNIOR.pdfapplication/pdf2279629https://ri.ufs.br/jspui/bitstream/riufs/3353/1/JOSE_BONIFACIO_SILVA_JUNIOR.pdf92e9752570c5f5f5f31d547a0033ce88MD51riufs/33532018-02-09 18:59:31.727oai:oai:ri.ufs.br:repo_01:riufs/3353Repositório InstitucionalPUBhttps://ri.ufs.br/oai/requestrepositorio@academico.ufs.bropendoar:2018-02-09T21:59:31Repositório Institucional da UFS - Universidade Federal de Sergipe (UFS)false |
| dc.title.por.fl_str_mv |
Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados |
| title |
Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados |
| spellingShingle |
Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados Silva Júnior, José Bonifácio da Ciência da computação Computação de alto desempenho Arquitetura de computador Segurança da informação GPUS CUDA Algoritmos de comparação de strings Aho-Corasick IDS Hierarquia de memória da GPU Técnicas de compactação String matching algorithms Aho-Corasick GPU memory hierarchy Compaction techniques CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO |
| title_short |
Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados |
| title_full |
Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados |
| title_fullStr |
Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados |
| title_full_unstemmed |
Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados |
| title_sort |
Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados |
| author |
Silva Júnior, José Bonifácio da |
| author_facet |
Silva Júnior, José Bonifácio da |
| author_role |
author |
| dc.contributor.author.fl_str_mv |
Silva Júnior, José Bonifácio da |
| dc.contributor.advisor1.fl_str_mv |
Moreno Ordonez, Edward David |
| contributor_str_mv |
Moreno Ordonez, Edward David |
| dc.subject.por.fl_str_mv |
Ciência da computação Computação de alto desempenho Arquitetura de computador Segurança da informação GPUS CUDA Algoritmos de comparação de strings Aho-Corasick IDS Hierarquia de memória da GPU Técnicas de compactação |
| topic |
Ciência da computação Computação de alto desempenho Arquitetura de computador Segurança da informação GPUS CUDA Algoritmos de comparação de strings Aho-Corasick IDS Hierarquia de memória da GPU Técnicas de compactação String matching algorithms Aho-Corasick GPU memory hierarchy Compaction techniques CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO |
| dc.subject.eng.fl_str_mv |
String matching algorithms Aho-Corasick GPU memory hierarchy Compaction techniques |
| dc.subject.cnpq.fl_str_mv |
CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO |
| description |
The Intrusion Detection System (IDS) needs to compare the contents of all packets arriving at the network interface with a set of signatures for indicating possible attacks, a task that consumes much CPU processing time. In order to alleviate this problem, some researchers have tried to parallelize the IDS's comparison engine, transferring execution from the CPU to GPU. This This dissertation aims to parallelize the Brute Force and Aho-Corasick string matching algorithms and to propose a new compression of the State Transition Table of the Aho-Corasick algorithm in order to make it possible to use it in shared memory and accelerate the comparison of strings. The two algorithms were parallelized using the NVIDIA CUDA platform and executed in the GPU memories to allow a comparative analysis of the performance of these memories. Initially, the AC algorithm proved to be faster than the Brute Force algorithm and so it was followed for optimization. The AC algorithm was compressed and executed in parallel in shared memory, achieving a performance gain of 15% over other GPU memories and being 48 times faster than its serial version when testing with real network packets. When the tests were done with synthetic data (less random data) the gain reached 73% and the parallel algorithm was 56 times faster than its serial version. Thus, it can be seen that the use of compression in shared memory becomes a suitable solution to accelerate the processing of IDSs that need agility in the search for patterns. |
| publishDate |
2017 |
| dc.date.accessioned.fl_str_mv |
2017-09-26T11:34:24Z |
| dc.date.available.fl_str_mv |
2017-09-26T11:34:24Z |
| dc.date.issued.fl_str_mv |
2017-06-21 |
| dc.type.status.fl_str_mv |
info:eu-repo/semantics/publishedVersion |
| dc.type.driver.fl_str_mv |
info:eu-repo/semantics/masterThesis |
| format |
masterThesis |
| status_str |
publishedVersion |
| dc.identifier.citation.fl_str_mv |
SILVA JÚNIOR, José Bonifácio da. Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados. 2017. 72 f. Dissertação (Mestrado em Ciência da Computação) - Universidade Federal de Sergipe, São Cristóvão, SE, 2017. |
| dc.identifier.uri.fl_str_mv |
https://ri.ufs.br/handle/riufs/3353 |
| identifier_str_mv |
SILVA JÚNIOR, José Bonifácio da. Paralelização em CUDA do algoritmo Aho-Corasick utilizando as hierarquias de memórias da GPU e nova compactação da Tabela de Transcrição de Estados. 2017. 72 f. Dissertação (Mestrado em Ciência da Computação) - Universidade Federal de Sergipe, São Cristóvão, SE, 2017. |
| url |
https://ri.ufs.br/handle/riufs/3353 |
| dc.language.iso.fl_str_mv |
por |
| language |
por |
| dc.rights.driver.fl_str_mv |
info:eu-repo/semantics/openAccess |
| eu_rights_str_mv |
openAccess |
| dc.format.none.fl_str_mv |
application/pdf |
| dc.publisher.none.fl_str_mv |
Universidade Federal de Sergipe |
| dc.publisher.program.fl_str_mv |
Pós-Graduação em Ciência da Computação |
| dc.publisher.initials.fl_str_mv |
UFS |
| dc.publisher.country.fl_str_mv |
Brasil |
| publisher.none.fl_str_mv |
Universidade Federal de Sergipe |
| dc.source.none.fl_str_mv |
reponame:Repositório Institucional da UFS instname:Universidade Federal de Sergipe (UFS) instacron:UFS |
| instname_str |
Universidade Federal de Sergipe (UFS) |
| instacron_str |
UFS |
| institution |
UFS |
| reponame_str |
Repositório Institucional da UFS |
| collection |
Repositório Institucional da UFS |
| bitstream.url.fl_str_mv |
https://ri.ufs.br/jspui/bitstream/riufs/3353/2/JOSE_BONIFACIO_SILVA_JUNIOR.pdf.txt https://ri.ufs.br/jspui/bitstream/riufs/3353/3/JOSE_BONIFACIO_SILVA_JUNIOR.pdf.jpg https://ri.ufs.br/jspui/bitstream/riufs/3353/1/JOSE_BONIFACIO_SILVA_JUNIOR.pdf |
| bitstream.checksum.fl_str_mv |
2fc4bb5a2186de45a9ac72a6694cddcb a27175d5c9a20cea5777dc61085fe2df 92e9752570c5f5f5f31d547a0033ce88 |
| bitstream.checksumAlgorithm.fl_str_mv |
MD5 MD5 MD5 |
| repository.name.fl_str_mv |
Repositório Institucional da UFS - Universidade Federal de Sergipe (UFS) |
| repository.mail.fl_str_mv |
repositorio@academico.ufs.br |
| _version_ |
1851759366163660800 |