Commit Graph

659 Commits

Author SHA1 Message Date
logwang df2f08ebcb
Merge pull request #220 from chadwill/master
libfstack: fixbug, bad checksum would lead to memleak of dpdk mbuf
2018-05-30 10:48:02 +08:00
logwang 5ad310a18e Merge pull request #220 from chadwill/master
libfstack: fixbug, bad checksum would lead to memleak of dpdk mbuf
2018-05-30 10:48:02 +08:00
chenwei 26d3eba6b1 Fstack: fixbug, bad checksum would lead to memleak of dpdk mbuf 2018-05-30 10:36:16 +08:00
chenwei 968058581b Fstack: fixbug, bad checksum would lead to memleak of dpdk mbuf 2018-05-30 10:36:16 +08:00
whl739 6285fb0406 Fix the permission of dpdk's shell files 2018-05-28 22:07:28 +08:00
whl739 52f89a8872 Fix the permission of dpdk's shell files 2018-05-28 22:07:28 +08:00
whl739 e793248e6a Update .gitignore. 2018-05-28 21:46:53 +08:00
whl739 4095213e96 Update .gitignore. 2018-05-28 21:46:53 +08:00
whl739 0633ebac40 Fix compling error in the newer version of gcc and openssl.
`RAND_pseudo_bytes` is deprecated in the newer version of openssl.
Use `RAND_bytes` instead.
2018-05-28 21:05:36 +08:00
whl739 b3aff0ba02 Fix compling error in the newer version of gcc and openssl.
`RAND_pseudo_bytes` is deprecated in the newer version of openssl.
Use `RAND_bytes` instead.
2018-05-28 21:05:36 +08:00
unknown 8ba865bafa Update redis document. 2018-05-28 17:11:06 +08:00
unknown 2abe29f7f6 Update redis document. 2018-05-28 17:11:06 +08:00
logwang e850874db3
Merge pull request #214 from chadwill/master
Nginx: fixbug, hijack `getpeername` and `getsockname`.
2018-05-28 12:03:07 +08:00
logwang 1cb22d0a41 Merge pull request #214 from chadwill/master
Nginx: fixbug, hijack `getpeername` and `getsockname`.
2018-05-28 12:03:07 +08:00
chenwei 46de49a1b5 Nginx: fixbug, hijack `getpeername` and `getsockname`. 2018-05-27 12:29:26 +08:00
chenwei 4e4a28b584 Nginx: fixbug, hijack `getpeername` and `getsockname`. 2018-05-27 12:29:26 +08:00
logwang 964cd40470 travis-ci:fix the permission of dpdk's shell files. 2018-05-15 20:43:22 +08:00
logwang deed089a75 travis-ci:fix the permission of dpdk's shell files. 2018-05-15 20:43:22 +08:00
logwang ab2ade86dc travis-ci: update the dependences and clean cache. 2018-05-15 20:17:42 +08:00
logwang 5150e168ac travis-ci: update the dependences and clean cache. 2018-05-15 20:17:42 +08:00
logwang 76c59264b6 DPDK: upgrade to 17.11.2 LTS.
Changes:
1. This version is downloaded from
https://fast.dpdk.org/rel/dpdk-17.11.2.tar.xz.
2. Adapt the new interface `rte_ring_dequeue_burst`.
3. Change the type of `port_id` from uint8_t to uint16_t.
4. Just link libdpdk.a instead of the other libaries.
5. Install libnuma-dev first.
6. Update the documents.
2018-05-15 17:49:22 +08:00
logwang 2bfe3f2e55 DPDK: upgrade to 17.11.2 LTS.
Changes:
1. This version is downloaded from
https://fast.dpdk.org/rel/dpdk-17.11.2.tar.xz.
2. Adapt the new interface `rte_ring_dequeue_burst`.
3. Change the type of `port_id` from uint8_t to uint16_t.
4. Just link libdpdk.a instead of the other libaries.
5. Install libnuma-dev first.
6. Update the documents.
2018-05-15 17:49:22 +08:00
logwang 2e160f1313 kern_timeout: decrease the cpu usage of timer.
There's a bug of last version, every tick, the timer will traverse all the
entries in callwheel, when lots of connections comming, the callout
process will use lots of cpu resources.

This commit fixes it, every tick, check the bucket which is hashed with current
tick, if there are entries, compare the callout tick, and invoke
callbacks.
2018-05-10 17:53:18 +08:00
logwang 5e5c25c329 kern_timeout: decrease the cpu usage of timer.
There's a bug of last version, every tick, the timer will traverse all the
entries in callwheel, when lots of connections comming, the callout
process will use lots of cpu resources.

This commit fixes it, every tick, check the bucket which is hashed with current
tick, if there are entries, compare the callout tick, and invoke
callbacks.
2018-05-10 17:53:18 +08:00
logwang 196bdd01f1
Merge pull request #197 from chadwill/master
Nginx: fixbug, support process `NGX_PROCESS_HELPER` .e.g cache, refer to #142
2018-05-04 17:34:46 +08:00
logwang 87b869fb7a Merge pull request #197 from chadwill/master
Nginx: fixbug, support process `NGX_PROCESS_HELPER` .e.g cache, refer to #142
2018-05-04 17:34:46 +08:00
chenwei 57cbfd9c19 Nginx: fixbug, support `NGX_PROCESS_HELPER` .e.g cache, refer to #142 2018-05-04 17:02:02 +08:00
chenwei 0eb653e5ef Nginx: fixbug, support `NGX_PROCESS_HELPER` .e.g cache, refer to #142 2018-05-04 17:02:02 +08:00
logwang 8238502f09
Merge pull request #194 from ouliuquan/patch-1
Update vnode_if.src
2018-04-27 18:08:14 +08:00
logwang b428cee7e5 Merge pull request #194 from ouliuquan/patch-1
Update vnode_if.src
2018-04-27 18:08:14 +08:00
ouliuquan edb59aec69
Update vnode_if.src
Missing end-of-line ; in " IN struct task *task;   ".
2018-04-27 17:42:22 +08:00
ouliuquan 744da4ea50 Update vnode_if.src
Missing end-of-line ; in " IN struct task *task;   ".
2018-04-27 17:42:22 +08:00
logwang 90f6413391
Merge pull request #192 from chadwill/master
Update F-Stack_Nginx_APP_Guide.md
2018-04-26 15:36:42 +08:00
logwang 19e3e88159 Merge pull request #192 from chadwill/master
Update F-Stack_Nginx_APP_Guide.md
2018-04-26 15:36:42 +08:00
陈威 9b563dfe24
Update F-Stack_Nginx_APP_Guide.md
The context of `schedule_timeout` is `main`.
2018-04-26 14:35:04 +08:00
陈威 55d550ae80 Update F-Stack_Nginx_APP_Guide.md
The context of `schedule_timeout` is `main`.
2018-04-26 14:35:04 +08:00
logwang 6e72bce389
Merge pull request #191 from jbwyatt4/patch-1
More grammar and sentence rewrites
2018-04-23 15:06:14 +08:00
logwang 1b3f93b30a Merge pull request #191 from jbwyatt4/patch-1
More grammar and sentence rewrites
2018-04-23 15:06:14 +08:00
jbwyatt4 e09daaff88
spelling error 2018-04-20 12:25:22 -07:00
jbwyatt4 eb6b6fa602 spelling error 2018-04-20 12:25:22 -07:00
jbwyatt4 bf11d8a164
More grammar and sentence rewrites 2018-04-20 10:58:32 -07:00
jbwyatt4 aa833a4a07 More grammar and sentence rewrites 2018-04-20 10:58:32 -07:00
logwang a4612ce66c
Merge pull request #190 from jbwyatt4/master
Grammar and other fixes
2018-04-20 10:50:10 +08:00
logwang e14c25b01c Merge pull request #190 from jbwyatt4/master
Grammar and other fixes
2018-04-20 10:50:10 +08:00
jbwyatt4 457ddce291
Grammar and other fixes 2018-04-19 05:45:35 -07:00
jbwyatt4 9ece0b02d0 Grammar and other fixes 2018-04-19 05:45:35 -07:00
logwang 205092b25b
Merge pull request #189 from chadwill/master
Nginx: fixbug, hijack `__recv_chk`.
2018-04-16 19:47:33 +08:00
logwang e35f03d569 Merge pull request #189 from chadwill/master
Nginx: fixbug, hijack `__recv_chk`.
2018-04-16 19:47:33 +08:00
chenwei 702a9cad2d Nginx: fixbug, hijack `__recv_chk`.
Nginx maybe call `__recv_chk` with https because of _FORTIFY_SOURCE.
Refer to #179.
See _FORTIFY_SOURCE (since glibc 2.3.4)
2018-04-16 18:52:58 +08:00
chenwei bc0822cf2e Nginx: fixbug, hijack `__recv_chk`.
Nginx maybe call `__recv_chk` with https because of _FORTIFY_SOURCE.
Refer to #179.
See _FORTIFY_SOURCE (since glibc 2.3.4)
2018-04-16 18:52:58 +08:00