LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-08-2008, 06:20 AM   #1
beckss
Member
 
Registered: Nov 2008
Posts: 39

Rep: Reputation: 0
How to increase load average on Linux.


Hi!
My question is very simple. How to increase load average Linux with programmer tools.
We need to check how increasing in load average cause for package drop on our system.
Thanks for quick answers.
Staas.
 
Old 12-08-2008, 07:11 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
There's this tool called "stress": http://freshmeat.net/projects/stress/.
 
Old 12-08-2008, 07:51 AM   #3
beckss
Member
 
Registered: Nov 2008
Posts: 39

Original Poster
Rep: Reputation: 0
How to increase load average on Linux.

Thanks for quick answer, but I want to know how we can increase load for network cards.
Thanks Staas.
 
Old 12-08-2008, 08:49 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Shove several large files over the network simultaneously both ways?
 
Old 12-08-2008, 08:53 AM   #5
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Rep: Reputation: 30
I could be way off base here, but this is what I'd try ...

Take a big file (some video?) and transfer it from one PC to another (from a desktop to a server). Time how long it takes to do the transfer, just as a starting benchmark. Check for errors during the transfer as a starting benchmark, also.

Then, set up a batch file or script to auto transfer it, and have it execute in a loop - auto-overwriting the destination each time. That should provide the workload. If you can only transfer one file at a time, originating the batch/script from the server, then run it from several desktops (using different files, of course, so they're not stepping on each other). This should be scalable enough to get the kind of workload you want/need. I'd think you could have every desktop moving a big file to the server at the same time.

Then, when you know how well it works in one direction, reverse the movement at each desktop so that they are copying files from the server simultaneously. For even more variety, have half the desktops copying a file FROM the server, and the other half copying files TO the server. This should provide enough opportunities for collisions that you should be able to make an informed decision.

Monitoring the error counts is up to you - there's probably some utility to do that, if you don't have something built-in.
 
Old 12-08-2008, 08:53 AM   #6
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally Posted by unSpawn View Post
Shove several large files over the network simultaneously both ways?
Umm, yeah. What he said!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to cause load average to increase paranoid times Linux - Software 2 04-14-2006 05:41 PM
load average? ampex189 Linux - Newbie 2 03-06-2005 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration