Brian O'Mahony wrote:
> I am setting up a 2850 to do some testing for moving our code repositories
> over to SAN storage. I have a pe2850 with two onboard NICs and a dual port
> PCI nic. All four ports are coming up as Intel e1000 ports. Is there any way
> of telling from inside the OS which exact port eth0,1,2,3 actually are? Ive
> seen RHEL change port around before, and I was just wondering how to check
> which interface corresponds to which physical port, as this will probably be
> important when we implement it.
>
> On another note, has anyone got any suggestions on how to keep memory usage
> at about 80% while doing benchmark tests? I want to compare the read/write
> speed of local vs SAN storage, while the machines are in use. However the
> chances of getting to do it in the live environment are zero. If I can keep
> the memory usage at about 85% [cpu load is about .4 so is pretty negligible]
> I would have some data to look at.
>
For your memory limiting, try the following:
ulimit -v XXX
# where XXX is the number of kilobytes that you want to limit your
memory usage to. This only works in userland processes that are spawned
from the shell where you run this command. To limit a system daemon, put
that line in the init.d script and restart the daemon. This is a
per-process limit, so it's still possible for the total memory used to
exceed your limit. Do your math and tests accordingly.
Jason
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq