SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio

Detalhes bibliográficos
Ano de defesa: 2011
Autor(a) principal: Lima Júnior, Otávio Alcântara de
Orientador(a): Cortez, Paulo César
Banca de defesa: Não Informado pela instituição
Tipo de documento: Dissertação
Tipo de acesso: Acesso aberto
Idioma: por
Instituição de defesa: Não Informado pela instituição
Programa de Pós-Graduação: Não Informado pela instituição
Departamento: Não Informado pela instituição
País: Não Informado pela instituição
Palavras-chave em Português:
Link de acesso: http://www.repositorio.ufc.br/handle/riufc/2043
Resumo: The ever-increasing developments of low-power integrated circuits have made it possible the design of very small low-cost and low-power electronic sensors with wireless communication and computing capabilities. Those devices, in their turn, made it feasible the implementation of the so-called Wireless Sensors Networks (WSN). WSN is a network of such devices (known as nodes), each one having an embedded microcontroller and a communication module which makes it possible the nodes to be used as sensors which process and exchange information with the other nodes, in order to achieve a speci c purpose. Usually, due to the nodes very limited processing power, a very simple operating system (SO) is used to manage the node's processing and communicating capabilities by executing tasks in a concurrent fashion. The SO is a very important part in the design of a WSN and, depending on the concurrence model used on its design, the SO can be divided into two types: event-based or thread-based SO's. Event-based models make it di cult for the programmer to control the execution ow and are not suitable for tasks with long computation time. Thread-based models, on the other hand, present heavy memory use, but have a much simpler programming model and good real-time responses. In this sense, this dissertation proposes a new semi-preemptive SO, called SKMotes has the relatively easy-programming model related to thread-based models and a low memory usage. Despite SKMotes be thread-based, it is not fully preemptive, since at any given time, only a subset of the system's threads is executing as preemptive priority-based tasks and the rest of them remains on hold, which makes for low context usage, since the threads do not need data stack. This approach provides low time response for high-priority threads while at the same time guarantees lower memory usage than that of preemptive kernels. These features make SKMotes very suitable for WSN applications where there is a combination of I/O-oriented tasks and task with long computation times (for example, applications that perform data compression and/or cryptography). After being implemented, SKMotes' performance analysis was carried out by using a specially-designed FPGA-based module, which made it possible to perform CPU-usage measurements as well as threads' time response, with the system on the y. The measurement's results showed that, for the considered test-scenario, SKMotes presents CPU-usage rates equal to preemptive multi-threading approaches but having a lower memory usage (20).
id UFC-7_4ae6dce54f7636928d6e0ba8a0ff4cc9
oai_identifier_str oai:repositorio.ufc.br:riufc/2043
network_acronym_str UFC-7
network_name_str Repositório Institucional da Universidade Federal do Ceará (UFC)
repository_id_str
spelling Lima Júnior, Otávio Alcântara deCastro, Helano de SousaCortez, Paulo César2012-02-10T19:02:31Z2012-02-10T19:02:31Z2011LIMA JÚNIOR, O. A. de. SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio. 2011. 76 f. Dissertação (mestrado em Engenharia de Teleinformática)-Centro de Tecnologia, Universidade Federal do Ceará, Fortaleza, 2011.http://www.repositorio.ufc.br/handle/riufc/2043The ever-increasing developments of low-power integrated circuits have made it possible the design of very small low-cost and low-power electronic sensors with wireless communication and computing capabilities. Those devices, in their turn, made it feasible the implementation of the so-called Wireless Sensors Networks (WSN). WSN is a network of such devices (known as nodes), each one having an embedded microcontroller and a communication module which makes it possible the nodes to be used as sensors which process and exchange information with the other nodes, in order to achieve a speci c purpose. Usually, due to the nodes very limited processing power, a very simple operating system (SO) is used to manage the node's processing and communicating capabilities by executing tasks in a concurrent fashion. The SO is a very important part in the design of a WSN and, depending on the concurrence model used on its design, the SO can be divided into two types: event-based or thread-based SO's. Event-based models make it di cult for the programmer to control the execution ow and are not suitable for tasks with long computation time. Thread-based models, on the other hand, present heavy memory use, but have a much simpler programming model and good real-time responses. In this sense, this dissertation proposes a new semi-preemptive SO, called SKMotes has the relatively easy-programming model related to thread-based models and a low memory usage. Despite SKMotes be thread-based, it is not fully preemptive, since at any given time, only a subset of the system's threads is executing as preemptive priority-based tasks and the rest of them remains on hold, which makes for low context usage, since the threads do not need data stack. This approach provides low time response for high-priority threads while at the same time guarantees lower memory usage than that of preemptive kernels. These features make SKMotes very suitable for WSN applications where there is a combination of I/O-oriented tasks and task with long computation times (for example, applications that perform data compression and/or cryptography). After being implemented, SKMotes' performance analysis was carried out by using a specially-designed FPGA-based module, which made it possible to perform CPU-usage measurements as well as threads' time response, with the system on the y. The measurement's results showed that, for the considered test-scenario, SKMotes presents CPU-usage rates equal to preemptive multi-threading approaches but having a lower memory usage (20).Redes de Sensores sem Fio (RSSFs) são fruto dos recentes avan cos nas tecnologias de sistemas micro-eletro-mecânicos, circuitos integrados de baixa potência e comunicação sem baixa potência. Estes avan ços permitiram a cria ção de min usculos dispositivos computacionais de baixo custo e baixa potência, capazes de monitorar grandezas fí sicas do ambiente e estabelecer comunica ção uns com os outros. Estes dispositivos, denominados n os sensores, são dotados de um microcontrolador simples, elementos sensores, r adio transceptor e fonte de alimenta ção. Desenvolver aplica çoes para RSSFs ée um grande desafio. O sistema operacional (SO) ée um componente essencial de um projeto de uma aplica ção para RSSFs. Em rela ção ao modelo de concorrência, podem-se dividir os SOs em duas categorias: baseados em eventos e baseados em threads. O modelo baseado em eventos cria dificuldades ao programador para controlar os fluxos de execu ção e não se ajusta a problemas com longos perí odos de computação. Por outro lado, o modelo baseado em threads tem alto consumo de mem oria, mas fornece um modelo de programa ção mais simples e com bons tempos de resposta. Dentro desse contexto, esta disserta ção propõe um novo SO para RSSFs, chamado SKMotes, que explora as facilidades de programa ção do modelo threads aliadas a baixa ocupa ção de mem oria. Este SO utiliza um modelo de concorrência baseado em threads, mas não completamente preemptivo, pois em dado momento apenas um subconjunto das threads do sistema est a executando no modo preemptivo baseado em prioridades. O restante das threads permanece em espera, ocupando apenas um contexto m nimo de execu ção, que não contempla a pilha de dados. O principal objetivo desse modelo é prover tempos de resposta baixos para threads de alta prioridade, ao mesmo tempo que garante baixo consumo de energia e ocupa ção de mem oria mais baixa do que kernels preemptivos. Estas caracter sticas permitem que o SKMotes seja empregado em aplica ções de RSSFs que utilizem um conjunto de tarefas orientadas a E/S e a longos per íodos de computação. Por exemplo, aplica ções de RSSFs que realizem fun ções de compressão de dados, criptogra a, dentre outras. A avalia ção de desempenho do SO proposto foi realizada em um ambiente de testes, baseado em uma FPGA, projetado para esta disserta ção, que permite realizar medi ções da utiliza ção da CPU e do tempo de resposta das threads, ao mesmo tempo em que interage com a plataforma do n o sensor atrav es da interface de comunica ção serial. Este ambiente de testes pode ser reutilizado em diferentes cen arios de avaliação de desempenho de sistemas computacionais baseados em microcontroladores. Os testes de avalia ção de desempenho mostram que, para os casos de teste realizados, o SKMotes apresenta ocupa ção do processador equivalente as solu ções baseadas em multithreading preemptivo, mas com consumo de mem oria de dados, em m edia, 20% menor. Al em disso, o SKMotes e capaz de garantir tempos de respostas, em m edia, 34% inferiores as solu ções baseadas em kernels de eventos. Quando se avalia apenas os casos de teste que possuem threads orientadas a E/S e a longos per odos de computação, o tempo de resposta chega a ser, em m edia, 63% inferior ao apresentado por kernels baseados em eventos.Sistemas operacionaisAlgoritmosSistemas de controle inteligenteTeleinformáticaSKMotes : um kernel semipreemptivo para nós de redes de sensores sem fioSKMotes: a kernel for us semipreemptivo of wireless sensor networksinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisporreponame:Repositório Institucional da Universidade Federal do Ceará (UFC)instname:Universidade Federal do Ceará (UFC)instacron:UFCinfo:eu-repo/semantics/openAccessLICENSElicense.txtlicense.txttext/plain; charset=utf-81748http://repositorio.ufc.br/bitstream/riufc/2043/2/license.txt8a4605be74aa9ea9d79846c1fba20a33MD52ORIGINAL2011_dis_oalimajunior.pdf2011_dis_oalimajunior.pdfapplication/pdf2767952http://repositorio.ufc.br/bitstream/riufc/2043/1/2011_dis_oalimajunior.pdf003409fd0de13eaaac0200e8f9b5a633MD51riufc/20432022-02-23 10:31:44.226oai:repositorio.ufc.br:riufc/2043Tk9URTogUExBQ0UgWU9VUiBPV04gTElDRU5TRSBIRVJFClRoaXMgc2FtcGxlIGxpY2Vuc2UgaXMgcHJvdmlkZWQgZm9yIGluZm9ybWF0aW9uYWwgcHVycG9zZXMgb25seS4KCk5PTi1FWENMVVNJVkUgRElTVFJJQlVUSU9OIExJQ0VOU0UKCkJ5IHNpZ25pbmcgYW5kIHN1Ym1pdHRpbmcgdGhpcyBsaWNlbnNlLCB5b3UgKHRoZ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ufc.br/ri-oai/requestbu@ufc.br || repositorio@ufc.bropendoar:2022-02-23T13:31:44Repositório Institucional da Universidade Federal do Ceará (UFC) - Universidade Federal do Ceará (UFC)false
dc.title.pt_BR.fl_str_mv SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio
dc.title.en.pt_BR.fl_str_mv SKMotes: a kernel for us semipreemptivo of wireless sensor networks
title SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio
spellingShingle SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio
Lima Júnior, Otávio Alcântara de
Sistemas operacionais
Algoritmos
Sistemas de controle inteligente
Teleinformática
title_short SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio
title_full SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio
title_fullStr SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio
title_full_unstemmed SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio
title_sort SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio
author Lima Júnior, Otávio Alcântara de
author_facet Lima Júnior, Otávio Alcântara de
author_role author
dc.contributor.co-advisor.none.fl_str_mv Castro, Helano de Sousa
dc.contributor.author.fl_str_mv Lima Júnior, Otávio Alcântara de
dc.contributor.advisor1.fl_str_mv Cortez, Paulo César
contributor_str_mv Cortez, Paulo César
dc.subject.por.fl_str_mv Sistemas operacionais
Algoritmos
Sistemas de controle inteligente
Teleinformática
topic Sistemas operacionais
Algoritmos
Sistemas de controle inteligente
Teleinformática
description The ever-increasing developments of low-power integrated circuits have made it possible the design of very small low-cost and low-power electronic sensors with wireless communication and computing capabilities. Those devices, in their turn, made it feasible the implementation of the so-called Wireless Sensors Networks (WSN). WSN is a network of such devices (known as nodes), each one having an embedded microcontroller and a communication module which makes it possible the nodes to be used as sensors which process and exchange information with the other nodes, in order to achieve a speci c purpose. Usually, due to the nodes very limited processing power, a very simple operating system (SO) is used to manage the node's processing and communicating capabilities by executing tasks in a concurrent fashion. The SO is a very important part in the design of a WSN and, depending on the concurrence model used on its design, the SO can be divided into two types: event-based or thread-based SO's. Event-based models make it di cult for the programmer to control the execution ow and are not suitable for tasks with long computation time. Thread-based models, on the other hand, present heavy memory use, but have a much simpler programming model and good real-time responses. In this sense, this dissertation proposes a new semi-preemptive SO, called SKMotes has the relatively easy-programming model related to thread-based models and a low memory usage. Despite SKMotes be thread-based, it is not fully preemptive, since at any given time, only a subset of the system's threads is executing as preemptive priority-based tasks and the rest of them remains on hold, which makes for low context usage, since the threads do not need data stack. This approach provides low time response for high-priority threads while at the same time guarantees lower memory usage than that of preemptive kernels. These features make SKMotes very suitable for WSN applications where there is a combination of I/O-oriented tasks and task with long computation times (for example, applications that perform data compression and/or cryptography). After being implemented, SKMotes' performance analysis was carried out by using a specially-designed FPGA-based module, which made it possible to perform CPU-usage measurements as well as threads' time response, with the system on the y. The measurement's results showed that, for the considered test-scenario, SKMotes presents CPU-usage rates equal to preemptive multi-threading approaches but having a lower memory usage (20).
publishDate 2011
dc.date.issued.fl_str_mv 2011
dc.date.accessioned.fl_str_mv 2012-02-10T19:02:31Z
dc.date.available.fl_str_mv 2012-02-10T19:02:31Z
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 LIMA JÚNIOR, O. A. de. SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio. 2011. 76 f. Dissertação (mestrado em Engenharia de Teleinformática)-Centro de Tecnologia, Universidade Federal do Ceará, Fortaleza, 2011.
dc.identifier.uri.fl_str_mv http://www.repositorio.ufc.br/handle/riufc/2043
identifier_str_mv LIMA JÚNIOR, O. A. de. SKMotes : um kernel semipreemptivo para nós de redes de sensores sem fio. 2011. 76 f. Dissertação (mestrado em Engenharia de Teleinformática)-Centro de Tecnologia, Universidade Federal do Ceará, Fortaleza, 2011.
url http://www.repositorio.ufc.br/handle/riufc/2043
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.source.none.fl_str_mv reponame:Repositório Institucional da Universidade Federal do Ceará (UFC)
instname:Universidade Federal do Ceará (UFC)
instacron:UFC
instname_str Universidade Federal do Ceará (UFC)
instacron_str UFC
institution UFC
reponame_str Repositório Institucional da Universidade Federal do Ceará (UFC)
collection Repositório Institucional da Universidade Federal do Ceará (UFC)
bitstream.url.fl_str_mv http://repositorio.ufc.br/bitstream/riufc/2043/2/license.txt
http://repositorio.ufc.br/bitstream/riufc/2043/1/2011_dis_oalimajunior.pdf
bitstream.checksum.fl_str_mv 8a4605be74aa9ea9d79846c1fba20a33
003409fd0de13eaaac0200e8f9b5a633
bitstream.checksumAlgorithm.fl_str_mv MD5
MD5
repository.name.fl_str_mv Repositório Institucional da Universidade Federal do Ceará (UFC) - Universidade Federal do Ceará (UFC)
repository.mail.fl_str_mv bu@ufc.br || repositorio@ufc.br
_version_ 1847793388086099968