search for: lajus

Displaying 6 results from an estimated 6 matches for "lajus".

Did you mean: cajus
2004 Jan 31
6
HTB dequeueing in pairs fixed
I posted earlier when I noticed that htb was releasing packets in pairs, even though my burst/quantums were 1 pkt. To fix I set HTB_HYSTERESIS 0 in net/sched/sch_htb.c . This gives a noticable gain in upstream worst case latency, for me with 256kbit/s up I used to see +90 sometimes, now it''s +45. For the many who have 128 up it should limit them to +90 rather than +180. Andy.
2004 Jan 15
3
put shaping on ppp or eth?
Hi, I wanna do some shaping on a DSL line that is plugged to the eth1 nic. Should I attach the qdiscs directly to the ppp device or can I use the eth1 device instead? What (and why) makes more sense? thx cb _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2003 Nov 26
3
Fair queueing: SFQ vs TBF
...when using as leaf in one leaf with several hosts (like subnet) to splice traffic equaly to user number? Like 2 users = 256/2, 3 = 256/3 and so on. WRR was pretty good for this job, but it''s only for 2.4.21 kernels and mine''s 2.4.22. So what is better: SFQ or TBF? -- Artūras Šlajus _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2004 May 21
2
fwmark / MARK / --set-mark syntax never run on my system! Search step by step help.
Hello! This arguments never run on my system, but I need this: #!/bin/bash -x echo "1" iptables -t mangle -p tcp -d 0/0 --dport 80 -j MARK --set-mark 2 echo "2" echo "201 T1" >> /etc/iproute2/rt_tables echo "3" ip rule add fwmark 2 table T1 echo "4" ip route add default via 192.168.21.2 dev eth1 table T1 echo "5" ip route
2006 Jun 19
3
Strange behavior of :through association.
class Host < ActiveRecord::Base belongs_to :person end class House < ActiveRecord::Base has_many :people, :dependent => true has_many :hosts, :through => :person end class Person < ActiveRecord::Base belongs_to :house has_many :hosts, :dependent => true end Now when I try to do: @hosts = House.find_by_id(params[:namas]).hosts from my controller I get this:
2011 Sep 27
0
has_many with :finder_sql returns [nil]?
Is it supposed to do that? I find it very confusing. AR 3.0.10 class Unit has_many :units, :finder_sql => proc { "SELECT * FROM `#{table_name}` WHERE `location_id`=#{id} AND `location_type`=#{Location::UNIT}" } end Both should return []. However... >> Unit.first.units.find([1000000]) [2011-09-27 10:05:11|main|debug] Unit Load (4.0ms) SELECT `units`.* FROM `units`