摘要:
Test的代码中主要解析如下语法,当然使用的时候也可以参考如下语法进行语句的编写 ``` /* test(1) accepts the following grammar: oexpr ::= aexpr | aexpr "-o" oexpr ; aexpr ::= nexpr | nexpr "- 阅读全文
摘要:
为了实现磁盘上的IO,go语言使用一组IO线程池用来提高CPU的使用率 本文是在go语言上尝试了接入了linux libaio,并没有发现性能的提升。 使用O_DIRECT意味着数据直接到达磁盘上,这将不能有效的利用pagecache用来加速,合并读写请求;O_DIRECT的方式对读写的大小有限制, 阅读全文
摘要:
main (main thread) fio_backend run_threads loop jobs: backend.c#L2354 call job_setup backend.c#L2368 loop jobs: backend.c#L2406 pthread_create(thread_ 阅读全文