Grokbase
Topics Posts Groups | in
x
[ help ]

Mag Gam (mag...@gmail.com)

Profile | Posts (29)

User Information

Display Name:Mag Gam
Partial Email Address:mag...@gmail.com
Posts:
29 total
10 in CentOS
1 in PostgreSQL - Bugs
3 in PostgreSQL - General
10 in PostgreSQL - Novice
5 in PostgreSQL - PHP

5 Most Recent

All Posts
1) Mag Gam Re: [CentOS] bonding theory question
| +1 vote
So, I decided to go with mode 6 since my network admin says thats supported at my college. I have...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
So, I decided to go with mode 6 since my network admin says thats
supported at my college.

I have everything working perfectly however I still get an occasional
packet drop which is not good.

http://www.howtoforge.com/network_card_bonding_centos


By reading the HOWTO and README.txt I am not sure if I am missing
anything else. Has anyone else configured this before?

TIA





On Sat, Sep 6, 2008 at 2:22 PM, Filipe Brandenburger
<filbranden@gmail.com> wrote:
> On Sat, Sep 6, 2008 at 13:11, Mag Gam <magawake@gmail.com> wrote:
>> Actually, would there be a big performance boost when using mode4?
>
> Not necessarily, since balance-rr already gives you load-balancing.
> They actually implement it differently. balance-rr can spread packets
> of the same TCP connection across the two links, so you may use your
> links more, but with the side effect of having your packets delivered
> out of order. In 802.3ad all packets of a single TCP connection will
> use the same link, this means your links will not be as balanced as
> what you get with balance-rr, but it will not require reordering on
> the other side of the connection. Check section 12.1.1 in
> /usr/share/doc/iputils-*/README.bonding . In any case, you should
> evaluate what your needs are and tune for that.
>
>> Currently I am seeing 95% total throughput.
>
> If you have only a few clients doing huge transfers, 802.3ad will
> probably not be as good as balance-rr for that. Again, you should tune
> it for your needs.
>
>> Which isn't that bad. I am
>> peaking at 238MB/sec (each gig/e connections)
>
> I believe you mean 238MB/sec on both interfaces, since 1Gbps = 125MB/s.
>
>> Also, mode0 does fault tolerance, meaning if a switch failure occurs
>> we should still be good, but how would the packets then be
>> transferred? I suppose rr would be disabled since it won't need to
>> alternate, correct?
>
> Actually balance-rr is still there, it is only doing round-robin of
> one interface only. Remember, you could have a bonding of 3, 4 or more
> interfaces, in that case if you loose one you still have more than one
> to balance traffic through.
>
> Filipe
> _______________________________________________
> CentOS mailing list
> [email protected: C...@centos.org]
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
2) Mag Gam Re: [CentOS] strict memory
| +1 vote
Hi John: Well, we run a lot of statistical analysis and our code loads a lot of data into a vector...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi John:

Well, we run a lot of statistical analysis and our code loads a lot of
data into a vector for fast calculations. I am not sure how else to do
these calculations fast without loading it into memory. Thats why we
have to do it this way.

TIA


On Thu, Oct 16, 2008 at 1:00 PM, John R Pierce <pierce@hogranch.com> wrote:
> Mag Gam wrote:
>>
>> Hello All:
>>
>> Running 5.2 at our university. We have several student's processes
>> that take up too much memory. Our system have 64G of RAM and some
>> processes take close to 32-48G of RAM. This is causing many problems
>> for others. I was wondering if there is a way to restrict memory usage
>> per process? If the process goes over 32G simply kill it. Any thoughts
>> or ideas?
>>
>>
>
> In /etc/profile, use "ulimit -v NNNN" (in kilobytes) to limit the max
> virtual of all processes spawned by that shell
>
>
> 32G per process on a 64G machine sounds like a bit much. wouldn't a limit
> more like 4GB per user session be more appropriate on a multiuser system?
> _______________________________________________
> CentOS mailing list
> [email protected: C...@centos.org]
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
3) Mag Gam Re: [CentOS] strict memory
| +1 vote
Yes. Thanks. I was thinking of that too. Any other suggestions? TIA ...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Yes. Thanks. I was thinking of that too. Any other suggestions?

TIA



On Thu, Oct 16, 2008 at 12:56 PM, Filipe Brandenburger
<filbranden@gmail.com> wrote:
> Hi,
>
> On Thu, Oct 16, 2008 at 12:48, Mag Gam <magawake@gmail.com> wrote:
>> I was wondering if there is a way to restrict memory usage
>> per process? If the process goes over 32G simply kill it.
>
> You can limit the amount of virtual memory of a process with "ulimit
> -v". See "help ulimit" or "man bash" for more details.
>
> HTH,
> Filipe
> _______________________________________________
> CentOS mailing list
> [email protected: C...@centos.org]
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
4) Mag Gam [CentOS] strict memory
| +1 vote
Hello All: Running 5.2 at our university. We have several student's processes that take up too much...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hello All:

Running 5.2 at our university. We have several student's processes
that take up too much memory. Our system have 64G of RAM and some
processes take close to 32-48G of RAM. This is causing many problems
for others. I was wondering if there is a way to restrict memory usage
per process? If the process goes over 32G simply kill it. Any thoughts
or ideas?

TIA
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
5) Mag Gam [CentOS] need filesystem recommendation
| +1 vote
Hi All, I have a backup site and I would like to rsync from production to backup site. However, I...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi All,

I have a backup site and I would like to rsync from production to
backup site. However, I would like to have all backups be compressed
so I can save space. Can anyone recommend a good way to do this? I am
currently using tar and bzip2 to do this.

TIA
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos

spacer
Profile | Posts (29)
Home > People > Mag Gam