search for: numdevs

Displaying 20 results from an estimated 23 matches for "numdevs".

Did you mean: numdefs
2013 Aug 16
2
[PATCH] xfstests: update filters and output of btrfs/006
.../common/filter.btrfs @@ -33,6 +33,7 @@ _filter_btrfs_filesystem_show() # the uniq collapses all device lines into 1 _filter_uuid $UUID | _filter_scratch | _filter_scratch_pool | \ _filter_size | _filter_btrfs_version | _filter_devid | \ + _filter_spaces | \ sed -e "s/\(Total devices\) $NUMDEVS/\1 $NUM_SUBST/g" | \ uniq } @@ -51,7 +52,7 @@ _filter_btrfs_device_stats() UNIQ_OPT="" fi - _filter_scratch | _filter_scratch_pool | \ + _filter_scratch | _filter_scratch_pool | _filter_spaces | \ sed -e "s/[0-9]\+$/<NUM>/g" | sort | uniq $UNIQ_OPT | \ s...
2004 Jan 25
2
IMQ Runtime error
hi all, i have applied all patches and compiled the kernel (2.4.21), iptables (1.2.9) and iproute2 (2.4.7-now-ss020116) however when i run "modprobe imq numdevs=1", the system returns - imq.o: init_module: Device or resource busy the transcript is below - [root@vmlinux project]# modprobe imq numdevs=1 /lib/modules/2.4.21-BW/kernel/drivers/net/imq.o: init_module: Device or resource busy Hint: insmod errors can be caused by incorrect module parameters...
2002 Aug 07
11
pb with ingress policy
...scale that bandwidth down. So I used = some classes (with htb) on imq0 device and applied some filters and it see= ms to work in most cases. However, there are some sites with which downloa= d is interrupted if bandwidth is limited. I tried to trace it down and did= some simple test: modprobe imq numdevs=3D1 tc qdisc add dev imq0 root handle 1: htb default 10 tc class add dev imq0 parent 1: classid 1:10 htb rate 60kbit ceil 512kbit= burst 15k tc qdisc add dev imq0 parent 1:10 handle 10: sfq perturb 10 iptables -t mangle -A PREROUTING -i ppp0 -j IMQ --todev 0 ip li set imq0 up So now all traffic i...
2002 May 27
4
htb3 with imq
hi all, i want to try htb3 with imq downloaded & patched imq & htb3 with kernel-2.4.18 on rh7.2 but got STUCK on step 1 :( this are what i did can anyone guide me what went wrong on the first step itself !! [root@cab1 root]# modprobe imq numdevs=1 modprobe: Can''t locate module imq [root@cab1 root]# [root@cab1 root]# tc qdisc add dev imq0 handle 1: root htb default 1 Cannot find device "imq0" [root@cab1 root]# [root@cab1 root]# ls /lib/modules/2.4.18/kernel/net/sched/ cls_fw.o cls_tcindex.o sch_csz.o sch_htb.o...
2002 Jul 04
2
how to control bridge traffic using imq
bridge was configured with "brctl" three NIC was bind to br0 imq and htb was used to control traffic. #modprobe imq numdevs=3 "htb scripts" #iptables -t mangle -A PREROUTING -i br0 -j IMQ --todev 1 #ip link set imq1 up but this can not do the traffic controling. please tell me how can i do _________________________________________________________ Do You Yahoo!? 银行巨头聚会中原 大浪淘‘金’谁将笑傲 http://sweepstakes.yahoo...
2002 Sep 20
1
the quantity of imq device
HTB and imq was used to control traffic. modprobe imq numdevs=3 but only imq0 and imq1 can be used; if there are five NICs, please tell me how can I can use imq2 , imq3 and so on. _________________________________________________________ Do You Yahoo!? 新鲜到底,娱乐到家 - 雅虎推出免费娱乐电子周报! http://cn.ent.yahoo.com/newsletter/index.html _______________________________...
2002 May 29
3
can not locate module imq0
...Networking options ---> IPv6: Netfilter Configuration --->IMQ target support Network device support --->IMQ (intermediate queueing device) support there is a file ''/lib/modules/2.4.18/kernel/net/ipv4/netfilter/ipt_IMQ.o'' but not ''imq.o'' modprobe imq numdevs=1 Can''t locate module imq please tell me how can i do _________________________________________________________ Do You Yahoo!? 摊开你的掌心 让我看看你 http://sweepstakes.yahoo.com/2002cnuser
2003 Apr 15
3
IMQ+HTB problem
Hi all and tc Gururs i have patched the IMQ and htb to kernel, but when i do egress filtering, iam not able to see any traffic and excusted the following the commands modprobe imq numdevs=1 tc qdisc add dev imq0 handle 1: root htb default 1 tc class add dev imq0 parent 1: classid 1:1 htb rate 100kbit tc qdisc add dev imq0 parent 1:1 handle 10: htb default 1 tc class add dev imq0 parent 10: classid 10:10 htb rate 100kbit tc qdisc add dev imq0 parent 10:10 handle 20: sfq ipta...
2002 Jul 12
1
IMQ crash dump
Hi I try setup imq pseudo device for shaping I''m work such script #!/bin/sh TC=/sbin/tc /sbin/modprobe imq numdevs=1 /sbin/ip link set imq0 up $TC qdisc add dev imq0 handle 1: root htb default 1 $TC class add dev imq0 parent 1: classid 1:1 htb rate 10mbit # client1 tunnel tunnel $TC class add dev imq0 parent 1: classid 1:2 htb rate 256kbit $TC filter add dev imq0 protocol ip parent 1:0 prio 5 u32 match ip src 1...
2002 May 21
5
ingress and egress
ingress can be used to control the incoming packet, such as: tc qdisc add dev eth0 handle ffff: ingress tc filter add dev eth0 parent ffff: protocol ip prio 5 u32 match ip src 172.16.1.11 police rate 10kbit burst 10k drop flowid :1 tc filter add dev eth0 parent ffff: protocol ip prio 5 u32 match ip src 172.16.1.22 police rate 10kbit burst 10k drop flowid :2 first ,I do not sure these method can
2002 Sep 07
4
imq0 not being detected
mdew:~# tc qdisc add dev imq0 handle 1: root htb default 12 r2q 1 Cannot find device "imq0" mdew:~# lsmod Module Size Used by Not tainted ipt_REDIRECT 728 0 (autoclean) ipt_MARK 728 2 (autoclean) iptable_mangle 2100 1 (autoclean) ipt_REJECT 2712 4 (autoclean) iptable_filter 1672 1 (autoclean)
2005 Jan 24
3
Htb, imq and sfq traffic shaping
...quot; $TC -s filter show dev $DOWNIF echo "[filter - $UPIF]" $TC -s filter show dev $UPIF } case "$1" in start) echo "Starting traffic shaping..." tc_reset # setup imq devices - imq0 for download, imq1 for upload # $MODPROBE imq numdevs 2 $IFCONFIG imq0 up $IFCONFIG imq1 up # ROOT DEVICE echo " Setting root devices for $DOWNIF and $UPIF" # download $TC qdisc add dev $DOWNIF root handle 1: htb default 99 $TC qdisc add dev $DOWNIF parent 1: classid 1:10 htb rate 128kbit # upload $...
2013 Nov 19
7
Quadrified GTX 480 VT-d passthrough. CUDA 5.5 in Linux partial success
...ts Unified Addressing (UVA): Yes Device PCI Bus ID / PCI location ID: 0 / 4 Compute Mode: < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) > deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.0, CUDA Runtime Version = 5.5, NumDevs = 1, Device0 = Quadro 6000 Result = PASS Unfortunately if I try to run any CUDA app or even nvidia-smi afterwards, I get the following errors: NVIDIA_CUDA-5.5_Samples/1_Utilities/deviceQuery# ./deviceQuery ./deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking)...
2006 Jan 19
1
IMQ slows computer to a crawl
I am attempting to implement IMQ on a 2.4.31 version kernel with iptables 1.3.3. I am following the example at http://www.linuximq.net/usage.html. When I enter the line iptables -t mangle -A POSTROUTING -o eth1 -j IMQ --todev1 (eth1 is the external interface), the computer slows to a crawl. OK, the CPU is only an AMD K6 233 which is not the world''s greatest CPU, but egress shaping is
2007 Sep 23
0
Giants on IMQ0
...RX packets:39880312 errors:0 dropped:0 overruns:0 frame:0 TX packets:39878715 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1024 RX bytes:1192463070 (1137.2 Mb) TX bytes:1190162553 (1135.0 Mb) ********** # IMQ: (HERE <-- INTERNET) modprobe imq numdevs=1 # Since class 1:10 uses the default pfifo_fast, we need to give it txqueuelen # packets because pfifo_fast drops incoming packets when the queue fills up: ip link set $IMQ up txqueuelen 1024 # Install root HTB, point default traffic to 1:30: tc qdisc add dev $IMQ root handle 1: htb default 30 #...
2005 Jan 05
2
Shaping the sum of incoming and outgoing traffic
Hello, does anyone have a working solution for the shaping both incoming and outgoing traffic in such way, that for a given client the *sum* of incoming and outgoing traffic is somehow defined? My ISP does the same thing, it gives me just a line of a defined rate, no matter the traffic direction (i.e. here is your line, the clock speed is 1024kbps, do what you want). I''m a litte bit
2013 Nov 18
0
Quadrified GTX 480 VT-d passthrough. CUDA 5.5 in Linux partial success!
...ts Unified Addressing (UVA): Yes Device PCI Bus ID / PCI location ID: 0 / 4 Compute Mode: < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) > deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.0, CUDA Runtime Version = 5.5, NumDevs = 1, Device0 = Quadro 6000 Result = PASS Unfortunately if I try to run any CUDA app or even nvidia-smi afterwards, I get the following errors: NVIDIA_CUDA-5.5_Samples/1_Utilities/deviceQuery# ./deviceQuery ./deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking)...
2002 Dec 09
3
HTB problems
Hello, I have HTB on IMQ device. My rate does not work as I configured. I configured 1920kbit/s and I can download only about 290kbit/s (while it should be the whole bandwidth). My script: /sbin/modprobe imq numdevs=1 /usr/local/sbin/tc qdisc del dev imq0 root 2> /dev/null > /dev/null /usr/local/sbin/tc qdisc del dev imq0 ingress 2> /dev/null > /dev/null /sbin/ifconfig imq0 down /usr/local/sbin/iptables -t mangle -D PREROUTING -i eth2 -j IMQ --todev 0 2> /dev/null /usr/local/sbin/iptables -t ma...
2007 Sep 03
3
Classes do not receive any traffic ?
Hello everyone. CONFIGURATION DESCRIPTION: I have a linux box doing masquerade for two lan''s. Here is a piece of mine network config: eth0 : ISP , one public ip address (DSL modem) eth1 : lan , private network address fe: 192.168.4.0/24 eth2 : wlan access point performing as lan2wlan bridge , private network addes fe. 192.168.67.0/24 This box use 2.6.20 kernel with iptables-1.3.8
2005 Nov 01
0
ADSL-Bandwidth-Management-HOWTO
...ho "Outbound shaping added to $DEV. Rate: ${RATEUP}Kbit/sec." # uncomment following line if you only want upstream shaping. # exit #################################################### # # Inbound Shaping (limits total bandwidth to RATEDN) # make sure imq module is loaded modprobe imq numdevs=1 ip link set imq0 up # add qdisc - default low-prio class 1:21 tc qdisc add dev imq0 handle 1: root htb default 21 # add main rate limit classes tc class add dev imq0 parent 1: classid 1:1 htb rate ${RATEDN}kbit # add leaf classes - TCP traffic in 21, non TCP traffic in 20 # tc class add dev...