fengbojiang
e4983a3d6a
Arrange tool directory
2018-08-17 21:16:23 +08:00
fengbojiang
6a4ba90927
fix a traffic bug
2018-08-17 17:42:21 +08:00
fengbojiang
26b8f02738
add traffic tool.
2018-08-16 20:29:12 +08:00
fengbojiang
eed3be39c1
fix a typo
2018-08-16 16:25:57 +08:00
johnjiang
1911eac7db
Merge pull request #259 from jinhao2/master
...
reset cpu affinity when new process forked.
2018-08-15 17:00:49 +08:00
10077240
da6f05a68c
replace __linux__ with HAVE_FF_KQUEUE
...
Only f-stack redis server need bind cpu, and forked process will inherit it.
2018-08-09 07:16:44 +08:00
10077240
1404f8b66c
reset cpu affinity when new process forked.
...
New forked process should not compete same core with redis server.
2018-08-08 07:40:39 +08:00
fengbojiang
8f525b0ba2
Add the result of reuseport test case.
2018-08-03 18:16:06 +08:00
johnjiang
2ab0068608
Update F-Stack_Binary_Release_Quick_Start.md
...
Add download f-stack-binary-release.tar.gz
2018-08-03 17:45:03 +08:00
johnjiang
85af57505d
Merge pull request #258 from xklllll/master
...
add binary release doc
2018-08-03 17:39:39 +08:00
xklllll
5e6936a325
Add a doc link
2018-08-03 16:25:35 +08:00
xklllll
65887fbf9e
add binary-release doc
2018-08-03 16:11:22 +08:00
xklllll
b313c47c87
Add Binary Release info to README.md
2018-08-03 16:06:30 +08:00
fengbojiang
63d2acf1c7
Fix #251:Compiling errors on Ubuntu.
...
On Ubuntu 16.04/18.04, fixed compile error with -Wunused-result
and -Wimplicit-fallthrough.
2018-07-23 18:22:09 +08:00
fengbojiang
141f33b513
fix crash bug of DPDK's driver when working on multi_process with AWS
...
ena NIC.
2018-07-23 16:39:02 +08:00
fengbojiang(姜凤波)
c4219e9b85
Fixed redis' compile error of 'struct timespec' when use gcc7.3.0 on ubuntu 18.04.
2018-07-10 16:08:05 +08:00
whl739
c56c2d6cf3
F-Stack: disable kni module by default.
...
Some omissions.
2018-06-21 17:51:57 +08:00
whl739
81721b68ac
F-Stack: disable kni module by default.
...
This commit adds a macro `FF_KNI` to determine whether to enable kni.
In Makefile, uncomment the `FF_KNI=1`, kni will be compiled into f-stack.
2018-06-21 17:39:17 +08:00
whl739
3f59e4d37d
Nginx: hijack `shutdown`.
...
Fix typo in previous commit.
2018-06-21 17:25:56 +08:00
whl739
e036d21d68
Nginx: hijack `shutdown`.
...
In some cases, nginx will call `ngx_shutdown_socket`, so we need to hijack `shutdown`.
2018-06-21 17:22:59 +08:00
whl739
0ed3d39215
Config: if proc-id is not configured, use 0.
2018-06-14 22:50:11 +08:00
logwang
26e7dd84d2
Merge pull request #230 from mscbg/master
...
F-stack:fix bug, if ff_veth_softc malloc faild, memory should not be read
2018-06-11 11:10:16 +08:00
yanya
98f1f12dc7
F-stack:fix bug, if ff_veth_softc malloc faild, memory should no be read.
2018-06-11 10:53:38 +08:00
logwang
e935064cd0
Merge pull request #228 from boat0/master
...
make use of numa when setting up rx/tx queues
2018-06-10 22:01:56 +08:00
Xiaozhou Liu
e279b6673b
make use of numa when setting up rx/tx queues
2018-06-10 20:48:48 +08:00
whl739
dbbea7cad3
Misc: some updates.
...
1.add interface `ff_dup` and `ff_dup2`.
2.add interface `ff_ioctl_freebsd`/`ff_getsockopt_freebsd`/`ff_setsockopt_freebsd` for tools.
3.initial parameter `proc-type` can be NULL, default "auto".
2018-06-10 20:41:48 +08:00
johnjiang
c46b4de422
Release-1.12 tag.
2018-06-01 19:52:59 +08:00
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
chenwei
26d3eba6b1
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
e793248e6a
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
unknown
8ba865bafa
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
chenwei
46de49a1b5
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
ab2ade86dc
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
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
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
chenwei
57cbfd9c19
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
ouliuquan
edb59aec69
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
陈威
9b563dfe24
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
jbwyatt4
e09daaff88
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
logwang
a4612ce66c
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