由买买提看人间百态

topics

全部话题 - 话题: packets
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
h**o
发帖数: 548
1
在机器A 上构造很多虚拟IP地址,从这些IP地址发出 packet 建立到另一台机器 B的
session 层连接。目的是测机器 B的处理能力。因为没有那么多机器,所以必须用虚拟
IP方式。在 unix 上开发。
请问应该怎么实现那,例如怎样让机器A把自己和这么多IP 结合起来, 机器B 怎么就
知道应该往那台机器传那。 Unix 上要config 什么 interface吗. Socket 编程要加什
么特殊语句?
为简单起见, 我假设所有IP都在一个子网内.
l******o
发帖数: 144
2
还是不太明确啊,我才疏学浅,不太懂ping是在哪里处理的?在网卡就直接处理了,还
是在kernel处理的,还是在user space?如果ping在网卡处理,那就是说1us必须包含
packet在网卡和kernel的时间, 那对于wei非常不利;反之,如果ping在user space处
理,那么1us就只是在user space的时间,对wei有利。我觉得延迟这个需求不是特别明
确,有必要加以定义清楚。
当然1M的QPS这个需求还算明确。其实只要multi core同时处理N个request,那么延迟
只要达到N us就可以了,比1us这个就宽松多了。

比如ping一个,有个网络延迟,1us处理的意思就是结果还是跟ping一样。如果有显著
延迟那显然不行。
当然我们说的是宏观上,不是每个包都确保1us.
s******u
发帖数: 501
3
网卡不处理ping,这个由network stack在kernel处理,然后再通过网卡发送response
packet回去
G**p
发帖数: 2549
4
来自主题: Security版 - 这是病毒吗?(Inbound UDP packet)
从早上起,所装的Norton Personal firewall 就不断报告
有别的计算机想连到我的机器, 它们的ip和端口不断地变来变去,
但都是Inbound UDP packet。
请问这是病毒吗?谢谢!
l***r
发帖数: 233
5
I have a unix machine with sevceral interfaces. Now I'd like to send TCP
packet on a choosen interface. How can I do that ?
Does UDP have the same solution?
h**o
发帖数: 548
6
在机器A 上构造很多虚拟IP地址,从每个IP地址发出 packet 建立到另一台机器 B的
session 层连接。目的是测机器 B的处理能力。因为没有那么多机器,所以必须用虚拟
IP方式。在 unix 上开发。
请问应该怎么实现那,例如怎样让机器A把自己和这么多IP 结合起来, 机器B 怎么就
知道应该往那台机器传那。 Unix 上要config 什么 interface吗. Socket 编程要加什
么特殊语句?
为简单起见, 我假设所有IP都在一个子网内
j*****n
发帖数: 943
7
来自主题: Tri版 - 领了race packet
领了race packet回来。俺在wave 42,要9点多才能发出去,
5:45 gear check in结束。这快3个多小时如何打发?可有有
经验的同修说说。
w*******y
发帖数: 60932
w*******y
发帖数: 60932
9
By two and get them shipped for Free.. unless you are on prime (then you get
free shipping anyways)
If you have not tried these.. they are GREAT.. quick and easy
6 ..3packs.. so you get 18 packs.
It seems hard to find deals on Via.
Link:
http://www.amazon.com/Starbucks-Coffee-Italian-3-Count-Packets/dp/B003Z6ZGZK/ref=br_lf_m_548166_1_1_ttl?ie=UTF8&s=grocery&pf_rd_p=1275783482&pf_rd_s=center-5&pf_rd_t=101&pf_rd_i=548166&pf_rd_m=ATVPDKIKX0DER&pf_rd_r=0DMG38SCR4QGHGE6V3QC
w*******y
发帖数: 60932
10
Emergen-C Adult-Multivitamin Apricot-Mango, 30 packets - $7.74 FSSS or Prime
Link:
http://www.amazon.com/gp/product/B002A4G6OS/ref=oss_product
Looks like a good deal to me, $12 at Walmart.
The Multi-Vitamin without the pill. Now that's a PLUS. If you think taking a
vitamin pill every day is exciting, you should get out more often. For the
rest of us, there's a multi that's actually fun - Emergen-C Multi-Vitamins
Plus. It's a tasty, fizzy drink that has all the vitamins and minerals you
want in a... 阅读全帖
w*******y
发帖数: 60932
11
1. Click here:
http://www.amazon.com/Coupons-Grocery/b/ref=amb_link_85715391_1
and look for $1 coupon named "On ONE Metamucil Product Expires June 4,
2011" (you may have to refresh the page to find this)
2. Find "Metamucil Apple Crisp Fiber Wafers 12-packet - 9.3 oz package (Pack
of 3)" and add it to cart (for one-time delivery)
3. Go back to window in step #1 and click of the $1 coupon below the product.
4. Checkout via subscribe & save for an additional 15% off
Total should be: $6.85 - $1.03... 阅读全帖
w*******y
发帖数: 60932
12
Here are the steps:
1. Sign into your Amazon account.
Link:
https://www.amazon.com/gp/css/homepage.html?ie=UTF8&ref_=topnav_ya
2. Go to the product page (or search for another Metamucil product):
Link:
http://www.amazon.com/Metamucil-Apple-Crisp-Wafers-12-packet/dp
3. On the product page, find "Save $2.00 with this Coupon", click on "Clip
this coupon". Make sure you have signed in first (step 1) or you won't see
it.
4. Check "Subscribe & Save" on the right, click on "Subscribe Now".
Shipping i... 阅读全帖
w*******y
发帖数: 60932
13
Free shipping w/ amazon prime
Good reviews
- use Subscribe and Save for $5.82
- Just below that, clip the $2 off coupon
- Brings the total down to $3.82! Good deal imo
Link:
http://www.amazon.com/Metamucil-Apple-Crisp-Wafers-12-packet/dp
w*******y
发帖数: 60932
14
Click $1 coupon and then use subscriber discount. Comes to less than $5.
Link:
http://www.amazon.com/dp/B001GCTTK8/
Metamucil Apple Crisp Fiber Wafers 12-packet - 9.3 oz package (Pack of 3)
List Price: $27.24
Price: $6.85 ($0.19 / wafer) Eligible for free shipping with Amazon
Prime.
You Save: $20.39 (75%)
Special Offers Available

Save an extra 15% with Subscribe & Save: Sign up to have this item delivered
at a regular interval of your choice, and the current price drops to ... 阅读全帖
g**e
发帖数: 6127
15
来自主题: Hardware版 - 包子求助: e3000 repeater bridge设置
做过了,没用。这个join并不是真正的加入了wireless,只是自动帮你填上SSID啥的,
跟手动填一样的效果
还是感谢
ssh进去之后显示的IP
root@DD-WRT:~# ifconfig
br0 Link encap:Ethernet HWaddr 68:7F:74:AC:BE:90
inet addr:192.168.1.222 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:6005 errors:0 dropped:0 overruns:0 frame:0
TX packets:8828 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:455790 (445.1 K... 阅读全帖

发帖数: 1
16
【 以下文字转载自 EB23 讨论区 】
发信人: ziwang (ziwang), 信区: EB23
标 题: 啰嗦的报个PD 2014年10月EB23,领事处理(CP)绿
发信站: BBS 未名空间站 (Wed Feb 13 09:38:44 2019, 美东)
本人的绿卡经历有一定曲折性,感觉这样经历一遍人生也算完整了。2014年10月中旬的
PD本来就是个坑爹的PD,如果当时雇主和律师手脚能快一些,获得早3个星期的PD的话
,也许可以早一年半绿。从开始念叨雇主办绿卡开始,我就经常提醒他们几天的PD差距
可以导致拿卡时间差几年,不料在相当程度上被言中。如今拿到卡,我仍然在此工作,
而当初雇主方为给我尽快办卡造成最大阻力的一个人去年丢了工作(虽然似乎已经找到
新的工作),不禁呵呵呵,当然此处跑题了按下不表。
版上似乎有个误解是人在境内只能485 AOS,只有人在境外才能CP。事实是只有人在境
内有合法身份的才能485 AOS,但所有人都可以选择CP。另一个误解似乎是485 AOS优于
CP,其实不尽然,下面会再分析一下。
CP的流程说一下: USCIS将I140 (对于FB则是I... 阅读全帖
A*********r
发帖数: 8271
17
来自主题: Immigration版 - EB1a/EB2 NIW DIY 材料的打印装订篇
打印和装订问题
简略言之,1)单面打印;2)短边上面打两孔,用fasteners装订。短边下面贴标签以
分类。
需要买的东西在staples都可以买到。
Two hole Punch
http://www.staples.com/Staples-One-Touch-2-Hole-Punch/product_7
Acco Steel Fasterns
http://www.staples.com/Acco-Steel-Fasteners-2-Piece-2-3-4-x-1/p
Index Tabs
http://www.staples.com/Avery-2-Index-Tabs-with-Printable-Insert
In preparing your packet, please take note of the following:
Do not use binders or folders that cannot be easily disassembled.
Use ACCO fasteners to hold together thick or bulky applica... 阅读全帖
k*****u
发帖数: 1688
18
用有线网卡的ifconfig的结果
eth0 Link encap:Ethernet HWaddr 00:0c:29:a0:34:e4
inet addr:138.23.191.192 Bcast:138.23.191.255 Mask:255.255.254.0
inet6 addr: fe80::20c:29ff:fea0:34e4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4571 errors:0 dropped:0 overruns:0 frame:0
TX packets:1446 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2107491 (2.1 MB) TX bytes:246723 (246... 阅读全帖
d**d
发帖数: 389
19
来自主题: Programming版 - 请教一个C++的设计问题
谢谢各位的输入,我把输入流的情况在说详细一下。
一个几个G的officeline的流或者是streaming进来的流被拿到以后,level 1的decoder
会把流分成不同大小的packet,每个
packet有header和payload。 level 1的decoder需要6个。分包的依据是magic word和
两个固定位置的tag。这个level 1的decoder跟我以前做的相似,就是读一段数据先找
magic word,再找那两个tag,然后根据相对于包的大小开验证是否可以重复magic word
和tags。然后对packet header进行解码。
对于level 1 packet来讲,level 1 decoder在分析包头以后来决定需不需要把不同包
的负载合并成一个新的 level 2 packet,然后调用 level 2 decoder,就是我讲的那20
几个新的decoder. level 2 packet下面实际上还有两个level的信息,结构是一样的,
都是分包头和负载,然后合并成新的包,然后再重复一遍就彻底结束了。我们现在不需
要全部的level 3和... 阅读全帖
f*******g
发帖数: 55
20
来自主题: EE版 - Another question about wifi
I'm running some test based on 802.11n using iperf.
iperf allows me to specify the size of a data packet. However, 802.11n
introduces packet aggregation mechanisms (i.e., A-MSDU and A-MPDU). As a
result, the packet size on the MAC or PHY layer may not be equal to the
packet size specified in iperf.
Is there a way to know the length of the data packet on the MAC layer and
PHY layer before a transmission?
I tried wireshark, but it only analyzes the packet structure above the MAC
layer, and it does... 阅读全帖
w*******y
发帖数: 60932
21
Alright, collegiates (and others), this is a good way to stock up on dorm
room breakfast opportunities.
Amazon has several boxes of Quaker Instant Oatmeal for under $8 right now,
with Subscribe & Save as well as a $2 clickable coupon. If you want to use
the coupon on more than one item, sign in with a secondary account. Feel
free to cancel the S&S as soon as the item ships. These typically go for
around 36 cents per packet at the store (without coupons, of course). So
this deal takes that p... 阅读全帖
n***s
发帖数: 10056
22
Here is how to bind and mail your 485:
General Tips on Assembling Applications for Mailing
* Mark both the envelope and the cover letter as to the nature of
the submission. Example: ORIGINAL SUBMISSION - BRIEF FOR AN APPEAL -
RESPONSE TO REQUEST FOR ADDITIONAL INFORMATION - etc.
* Use the appropriate mailing address and mark both the envelope
and the cover letter as to the form type. Example: I-129; I-130; I-690; I-
698, etc.
* Provide both the receipt notice number an... 阅读全帖
a*f
发帖数: 1790
23
来自主题: Hardware版 - VPN的设置问题
问题查出来了,但不知道怎么解决
应该是GRE Protocal测试没能通过Verizon Fios的Router
测试过程如下:
1)在内网的VPN服务器上面运行pptpsrv.exe。
Router port forwarding 1723到内网的VPN服务器电脑。GRE Protocal 47不知道咋搞
,不是端口。
2)远程启动pptpclnt.exe连接VPN服务
3)内网pptpsrv.exe收到以下LOG信息
Waiting for inbound connection on TCP port 1723...
Inbound connection from client has completed successfully!
Data received from client:
---> hello
Sending the message 'Reply from server' to the client
=====================================================
Connectivity test to TCP Port 1... 阅读全帖

发帖数: 1
24
【 以下文字转载自 Immigration 讨论区 】
发信人: ttibb (ttibb), 信区: Immigration
标 题: 分享:离婚J2单独申请豁免详细材料
发信站: BBS 未名空间站 (Sun Oct 6 17:15:44 2013, 美东)
简单讲,如果J1 primary的豁免是在离婚前办的,则自动cover作为dependent的J2。如
此,只要拿到一份J1的豁免文件就可以了。但如果离婚之时J1 primary没有办豁免,则
J2需要在离婚后单独提出豁免。不过好像离婚双方能再见还是朋友的不多,在不确定是离
婚前还是离婚后办的情况下,为免狗血,建议还是直接当需要自己单独提出豁免处理,我
从提出申请到最后拿到豁免也就一个多月(DOS通过IGA申请recommend case到USCIS大
概一个月,后来USCIS处理case2周不到)。完全DIY的话,也就215刀申请费。
网上这方面的信息不多,更没有详细的DIY流程,只是简单知道只可以用IGA这种方法申
请,后来联系过一些华人律所,发现真正经办过这类case的律师几乎没有,很多都是一
知半解。不想花了钱还办... 阅读全帖
f****t
发帖数: 1063
25
来自主题: Living版 - 路由器上网请教
我的路由器的统计如下:
WAN 2794 Packets 10 Packets
LAN 254 Packets 26 Packets
WIRELESS 390 Packets 301 Packets
请问为什么wan receive会有这么多?
s**u
发帖数: 9035
26
发信人: ttibb (ttibb), 信区: Immigration
标 题: 分享:离婚J2单独申请豁免详细材料
发信站: BBS 未名空间站 (Sun Oct 6 17:15:44 2013, 美东)
简单讲,如果J1 primary的豁免是在离婚前办的,则自动cover作为dependent的J2。如
此,只要拿到一份J1的豁免文件就可以了。但如果离婚之时J1 primary没有办豁免,则
J2需要在离婚后单独提出豁免。不过好像离婚双方能再见还是朋友的不多,在不确定是离
婚前还是离婚后办的情况下,为免狗血,建议还是直接当需要自己单独提出豁免处理,我
从提出申请到最后拿到豁免也就一个多月(DOS通过IGA申请recommend case到USCIS大
概一个月,后来USCIS处理case2周不到)。完全DIY的话,也就215刀申请费。
网上这方面的信息不多,更没有详细的DIY流程,只是简单知道只可以用IGA这种方法申
请,后来联系过一些华人律所,发现真正经办过这类case的律师几乎没有,很多都是一
知半解。不想花了钱还办不好事,于是自己做research然后DIY。材料准备得... 阅读全帖
t***b
发帖数: 16
27
简单讲,如果J1 primary的豁免是在离婚前办的,则自动cover作为dependent的J2。如
此,只要拿到一份J1的豁免文件就可以了。但如果离婚之时J1 primary没有办豁免,则
J2需要在离婚后单独提出豁免。不过好像离婚双方能再见还是朋友的不多,在不确定是离
婚前还是离婚后办的情况下,为免麻烦,建议还是直接当需要自己单独提出豁免处理,我
从提出申请到最后拿到豁免也就一个多月。完全DIY的话,也就215刀申请费。
网上这方面的信息不多,更没有详细的DIY流程,只是简单知道只可以用IGA这种方法申
请,后来联系过一些华人律所,发现真正经办过这类case的律师几乎没有,很多都是一
知半解。不想花了钱还办不好事,于是自己做research然后DIY。材料准备得差不多,
先去网上填申请,网址是:
https://j1visawaiverrecommendation.state.gov/
所有J1信息填成J2信息,没有dependent,最后会申请一个文件Packet for J-2
Waiver。当时拿到的case number是没计入系统的,直到DOS收到材料兑现支票后才作数
... 阅读全帖
t***b
发帖数: 16
28
简单讲,如果J1 primary的豁免是在离婚前办的,则自动cover作为dependent的J2。如
此,只要拿到一份J1的豁免文件就可以了。但如果离婚之时J1 primary没有办豁免,则
J2需要在离婚后单独提出豁免。不过好像离婚双方能再见还是朋友的不多,在不确定是离
婚前还是离婚后办的情况下,为免狗血,建议还是直接当需要自己单独提出豁免处理,我
从提出申请到最后拿到豁免也就一个多月(DOS通过IGA申请recommend case到USCIS大
概一个月,后来USCIS处理case2周不到)。完全DIY的话,也就215刀申请费。
网上这方面的信息不多,更没有详细的DIY流程,只是简单知道只可以用IGA这种方法申
请,后来联系过一些华人律所,发现真正经办过这类case的律师几乎没有,很多都是一
知半解。不想花了钱还办不好事,于是自己做research然后DIY。材料准备得差不多,
先去网上填申请,网址是:
https://j1visawaiverrecommendation.state.gov/
所有J1信息填成J2信息,没有dependent,最后会生成一个文件Packet f... 阅读全帖
p**********u
发帖数: 15479
29
来自主题: Missouri版 - 蒂娜的新帖来了
发信人: ttibb (ttibb), 信区: Immigration
标 题: 分享:离婚J2单独申请豁免详细材料
发信站: BBS 未名空间站 (Sun Oct 6 17:15:44 2013, 美东)
简单讲,如果J1 primary的豁免是在离婚前办的,则自动cover作为dependent的J2。如
此,只要拿到一份J1的豁免文件就可以了。但如果离婚之时J1 primary没有办豁免,则
J2需要在离婚后单独提出豁免。不过好像离婚双方能再见还是朋友的不多,在不确定是离
婚前还是离婚后办的情况下,为免狗血,建议还是直接当需要自己单独提出豁免处理,我
从提出申请到最后拿到豁免也就一个多月(DOS通过IGA申请recommend case到USCIS大
概一个月,后来USCIS处理case2周不到)。完全DIY的话,也就215刀申请费。
网上这方面的信息不多,更没有详细的DIY流程,只是简单知道只可以用IGA这种方法申
请,后来联系过一些华人律所,发现真正经办过这类case的律师几乎没有,很多都是一
知半解。不想花了钱还办不好事,于是自己做research然后DIY。材料准备得... 阅读全帖
f****t
发帖数: 1063
30
来自主题: SanFrancisco版 - 路由器请教
我的路由器的统计如下:
WAN 2794 Packets 10 Packets
LAN 254 Packets 26 Packets
WIRELESS 390 Packets 301 Packets
请问为什么wan receive会有这么多?
p**********u
发帖数: 15479
31
来自主题: Shanghai版 - 我们上海女生,蒂娜陈,要due了
大家一起来祝福吧。另外,蒂娜发了j2怎么办理离婚的正确步骤和手续。大家下次遇见
需要这方面资料的上海女人们,切记分析。谢谢蒂娜,一个人踩了脚狗屎不重要,重要
的是告诉大家要绕道。
发信人: ttibb (ttibb), 信区: Immigration
标 题: 分享:离婚J2单独申请豁免详细材料
发信站: BBS 未名空间站 (Sun Oct 6 17:15:44 2013, 美东)
简单讲,如果J1 primary的豁免是在离婚前办的,则自动cover作为dependent的J2。如
此,只要拿到一份J1的豁免文件就可以了。但如果离婚之时J1 primary没有办豁免,则
J2需要在离婚后单独提出豁免。不过好像离婚双方能再见还是朋友的不多,在不确定是离
婚前还是离婚后办的情况下,为免狗血,建议还是直接当需要自己单独提出豁免处理,我
从提出申请到最后拿到豁免也就一个多月(DOS通过IGA申请recommend case到USCIS大
概一个月,后来USCIS处理case2周不到)。完全DIY的话,也就215刀申请费。
网上这方面的信息不多,更没有详细的DIY流程,只是简单知道只可以... 阅读全帖
f*******8
发帖数: 3612
32
来自主题: EmergingNetworking版 - Voice里面的signaling。
我也基本这么想。
因为NTP是根据Round-trip delay计算时间,不大可能十分精确吧。
所以才允许systematic bias
(不过这我只是猜测,不懂。
题外话,按说所谓的卫星时钟同步,gps也够准的,当然gps也有漂移。
应该都是同步问题)
WIKI:NTP
Clock synchronization algorithm
To synchronize its clock with a remote server, the NTP client must compute
the round-trip delay time and the offset. The round-trip delay is computed
as δ = (t3 t0) (t2 t1), where t0 is the time of the request
packet transmission, t1 is the time of the request packet reception, t2 is
the time of the response packet transmissi... 阅读全帖
m*****n
发帖数: 760
33
是不是这个版本的不支持啊?
在Administration页面有下面一段Notes:
请版上的各路大仙出手解惑。
IP Traffic is about monitoring IPv4 network traffic flowing through the
router.
Check your LAN Settings before enabling this feature: any/all LAN interfaces
must have a netmask with at least 16 bits set (255.255.0.0).
Monitoring of larger subnets is not supported.
Other relevant notes/hints:
Before enabling this feature, please check your LAN Settings and make sure
the netmask on any/all of your LAN bridges has been configured properly (i.... 阅读全帖
f****t
发帖数: 1063
34
来自主题: Internet版 - 路由器请教
我的路由器的统计如下:
WAN 2794 Packets 10 Packets
LAN 254 Packets 26 Packets
WIRELESS 390 Packets 301 Packets
请问为什么wan receive会有这么多?
C********g
发帖数: 211
35
This package:
Hey Mines! Dont forget to come get your Winter Carnival package this week in
the Student Center for only $30! We will be selling packets through this
Friday so don't miss out on the cheapest day of all inclusive skiing and
boarding around! We will be selling packets from 10 AM to 3 PM each day.
PACKETS cost $30 and include:
-Full day lift ticket to Eldora Mountain Resort
-T-Shirt
-Transportation to and from the resort
-Lunch at the resort
-After party on campus including food (Chip... 阅读全帖
s****a
发帖数: 70
36
来自主题: Fitness版 - 三日减肥餐可不可以吃?
减了大半年,只差那么三五磅肉就可以买新衣服了,有点急于求成。
一直在犹豫要不要吃这个三日减肥餐,据说三天减6磅。
算了一下三天的热量摄入,第一天1250大卡,第二天900多,第三天780。
问版上各位,这个减肥法,要不要得?
附三日食谱如下。
Day 1
Breakfast
Black coffee or tea, with 1-2 packets Sweet & Low or Equal
1/2 grapefruit or juice
1 piece toast with 1 tablespoon peanut butter
Lunch
1/2 cup tuna
1 piece toast
Black coffee or tea, with 1-2 packets Sweet & Low or Equal
Dinner
3 ounces any lean meat or chicken
1 cup green beans
1 cup carrots
1 apple
1 cup regular vanilla ice cream
Day 2
Breakfast
Black coffee... 阅读全帖
i**p
发帖数: 902
37
来自主题: EmergingNetworking版 - L2TP协议
This is waht I read about L2TP
L2TP(Layer Two Tunneling Protocol,第二层通道协议)是VPDN(虚拟专用拨号网络
)技术的一种,专门用来进行第二层数据的通道传送,即将第二层数据单元,如点到点
协议(PPP)数据单元,封装在IP或UDP载荷内,以顺利通过包交换网络(如Internet)
,抵达目的地。
Here is my understanding, assuming I have a IP packet.
(my IP packet) ->
(Layer 2 header with tunnel destination layer 2 address sucah as MAC + ((my
IP packet)) ->
(IP header with tunnel destination IP address + (Layer 2 header with tunnel
destination layer 2 address sucah as MAC + ((my IP packet)) ) ->
(Layer 2 head... 阅读全帖
f*******8
发帖数: 3612
38
来自主题: EmergingNetworking版 - 怎样测试network collision?
多谢回答,我天天问,对本版没什么贡献,有点不好意思。
各位老兄多包涵。:)
两个问题。
1. 我刚意识到,其实router/switch 端口都有5分钟collision记录。
然后查了一下,确实!那个端口collision不少。这就是基础补习了,呵呵。
不过按百分比看,也没十分大。
也许我可以制造一些流量,看看collision的情况。
5 minute input rate 1468000 bits/sec, 256 packets/sec
5 minute output rate 34000 bits/sec, 14 packets/sec
3990623275 packets input, 4117882465 bytes, 0 no buffer
Received 1458967 broadcasts (0 multicast)
0 runts, 0 giants, 0 throttles
2 input errors, 1 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, ... 阅读全帖
v*****r
发帖数: 1119
39
来自主题: Linux版 - Gentoo stage3 文件下载问题
Update 一下。
大概确定了问题是和 Linux kernel 有关。laptop 用 fedora liveUSB boot 后,问题
同样存在, ping test 有15% 到60% 的 packet loss. 但用 wireless card 连
internet 就没有packet loss. 本来想在 laptop 上装 Gentoo, 觉得太费时间,今天
就装了Arch, 装完后又测了下,exactly same problem on wired connection. 有
packet loss 的 wired connection 是直接连到 Fiber Cable Modem 上的,既然
wireless card 没 packet loss 的问题,我就把 ethernet cable 接到我的wireless
modem上 (Wireless Router 是直接连到 Fiber Cable Modem 上的),结果也没有
packet loss。 总结如下:
1. 我的 laptop 是 Dell 8210 with Broadcom BCM5752
h*******x
发帖数: 12808
40
来自主题: Linux版 - 一道面试题求解
仔细想了一下,有点小问题。
在A上,我可以设定把目的地址是10.1.1.0/24的包转发到55.66.77.88,但是如何找55.
66.77.88又要重新路由,毕竟11.22.33.44不在一个网络中,一跳之内完不成,不晓得
能不做到递归去找,理论是可以,但是我没有在linux下面是试验过,不敢确定。刚刚
把话说的太满了,先删掉了。
你说那个到不是问题,我第一句话就假设10.1.1.0/24知道如何连接外网的A,怎么连到
A不重要,通过B也好,通过其他的网关也好,这个都无所谓,只要能把packet送到A就
行。但是中间决不能有NAT,否则不行,因为源地址混乱了。
通常情况下呢,没有NAT,从10.1.1.0/24的主机发出来的包的源地址还是10.1.1.0/24
的地址,公网的机器不知道如何路由到10.1.1.0/24网段上去,应答的packet送不回去
,tcp连接无法建立,更不用说ssh了。NAT把来自10.1.1.0/24的主机的packet的源地
址替换成公网的地址,并做好映射,这样让公网主机可以把应答包送回去。
但是如果只想建立A到10.1.1.0/24 TCP连接,那就没... 阅读全帖
H*L
发帖数: 124
41
来自主题: Linux版 - 泥马坑爹的tcp stack的作者
Your problem is probably due to bad interaction between tcp delayed ack and
nagle's algorithm. Nagle's algorithm won't send another packet until its
last in flight packet is acked, if the current pkt is too small; on the
other hand , at the other end, tcp will only send every other ack due to the
delayed ack policy
If all your packets are small it's almost guaranteed that you ll ran into
the situation where nagle's algorithm's end is waiting for its previous ack,
and the delayed ack end is not s... 阅读全帖
i*****o
发帖数: 1714
42
来自主题: Linux版 - 泥马坑爹的tcp stack的作者
这个问题已经解决了, 就是改一下ip route default initcwnd, default是3,我改
成20就好了。
关于这个问题的根源我已经说过, 就是linux上对tcp slow start的实现没有按通常的
要求去做。tcp slow start是为了避免congestion,省的一个新的session来了以后,
一下子传太多造成没有必要的drop frame和retransmission。公认的实现是start with
3x mss。就是说ethernet上可以一下子送1500*3 = 4500字节。4500字节对我来说就
是90个voice packet(差不多两秒的通话)足够用的了。可linux上写这个程序的人偷
懒,把slow start定义为start with 3 packets,不管这个packet里有多少字节。这样
我的应用就被卡注了。想想3g network round trip delay差不多在60ms-200ms之间,
200ms就是10个voice packet,可linux只给3个packet,所以就不断的drop frame(
voic... 阅读全帖
z***e
发帖数: 5393
43
来自主题: Programming版 - 请教一下,怎么控制发送UDP的速度?
大概的目的是要测试另外一边的负载能力,所以要程序按照不同速度发送udp过去,比
如:
100 packets/sec
1000 packets/sec
10K packets/sec
100K packets/secu1
...
现在我的solution大概是:
while(true)
{
SendPacket(N); //发N个UDP出去
Sleep(M);
}
每次跑不同的test,就设不同的N和M,比如 M=10, N=100,就差不多是预计每0.01秒送
100个,基本上是10000/sec(send packet本身还要时间,实际差不多是9k);
但是问题在于,M=10,N=100,和M=100,N=1000这样不同搭配出来,理论上都是平均
10000/sec,但实际上差别有点大,毕竟sleep本身有误差(windows最小单位好像是
15ms),thread本身switch也有影响。最后接受那边的CPU usage也不是很对,比如理
论上同样是收到100K/sec,但是一种搭配下的CPU usage是50%,另一种搭配可能就变成
40%。
所以关键是怎么让sende
n******7
发帖数: 12463
44
基本就是试了一堆方法,最后只能password
然后chdir /home/nowhere7/失败
ssh -vvvv [email protected]/* */
OpenSSH_6.7p1 Debian-5, OpenSSL 1.0.1t 3 May 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to ftp.mitbbs.com [8.8.8.8] port 22.
debug1: Connection established.
debug1: identity file /home/nowhere7/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity f... 阅读全帖
m*********d
发帖数: 7
45
来自主题: Security版 - 似乎中国的网络经过日本
Most packets' routes depend on router's routing table.
Unless you have control over where your packet can go (I doubt),
your packets will go the shortest route to the
destination.
I indeed tracerouted an ip address in Beijing and
the intermediate hops from my school to Beijing is only
3 and they are all belong to a Japanese network.
It is quite uncomfortable to see that lots of the packets from U.S. to China
will go through Japan since unencrypted packets are so vulnarable.
t***b
发帖数: 16
46
为了保险期间,我送出申请材料前找了个办过同样case的律师review了一下,费用是
250刀,以下是律师的回复,希望对大家有用:
We reviewed everything. Very thorough. I don’t see anything that needs
editing.
Now I’ll guide you on the next steps. You need to send 2 PACKETS. And I’ll
tell you below in what order each packet is, and where those should be sent.
Packet 1
DOS – (Address: P.O. Box 952137, St. Louis, MO 63195)
a. Money order $215
b. Form DS-3035 with Statement of Reason
c. Waiver Review Division Barcode Page
d. Copy of Passpo... 阅读全帖
t***b
发帖数: 16
47
为了保险期间,我送出申请材料前找了个办过同样case的律师review了一下,费用是
250刀,以下是律师的回复,希望对大家有用:
We reviewed everything. Very thorough. I don’t see anything that needs
editing.
Now I’ll guide you on the next steps. You need to send 2 PACKETS. And I’ll
tell you below in what order each packet is, and where those should be sent.
Packet 1
DOS – (Address: P.O. Box 952137, St. Louis, MO 63195)
a. Money order $215
b. Form DS-3035 with Statement of Reason
c. Waiver Review Division Barcode Page
d. Copy of Passpo... 阅读全帖
s***l
发帖数: 249
48
来自主题: EB23版 - I485材料怎么装订?
再给你贴个USCIS的说明
General Tips on Assembling Applications for Mailing
Mark both the envelope and the cover letter as to the nature of the
submission. Example: ORIGINAL SUBMISSION - BRIEF FOR AN APPEAL - RESPONSE TO
REQUEST FOR ADDITIONAL INFORMATION - etc.
Use the appropriate mailing address and mark both the envelope and the
cover letter as to the form type. Example: I-129; I-130; I-690; I-698, etc.
Provide both the receipt notice number and the A-Number as an identifier
, if they are a... 阅读全帖
p**********u
发帖数: 15479
49
来自主题: Missouri版 - 蒂娜的新帖来了
发信人: ttibb (ttibb), 信区: Immigration
标 题: Re: 分享:离婚J2申请豁免详细材料
发信站: BBS 未名空间站 (Sun Oct 6 17:25:03 2013, 美东)
为了保险期间,我送出申请材料前找了个办过同样case的律师review了一下,费用是
250刀,以下是律师的回复,希望对大家有用:
We reviewed everything. Very thorough. I don’t see anything that needs
editing.
Now I’ll guide you on the next steps. You need to send 2 PACKETS. And I’ll
tell you below in what order each packet is, and where those should be sent.
Packet 1
DOS – (Address: P.O. Box 952137, St. Louis, MO 63195)
a. Money order $215
b. ... 阅读全帖
a***a
发帖数: 40617
50
来自主题: loseweight版 - a very good mini FAQ of atkins
http://www.angelfire.com/ca2/LowcarbingDream/MiniFAQ.html
Lowcarb/Atkins MiniFAQ
Frequently Addressed Issues for Lowcarbers.
Many folks lose great on Induction and then stall. This is normal and to
be expected since your body is adjusting to your new weight. The stall will
pass and weight loss will resume, usually (but not always) within 2-3 weeks
.
Citric acid, a common ingredient in diet soda and other diet products, can
stall weight loss for 40-50% of lowcarbers. If you are sensitive to this
... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)