11-18-2014
Quote:
Originally Posted by
kogorman3
Size and number are linked. If they're bigger, there are fewer of them.
It doesn't work that way. It doesn't run 16384 individual merges simultaneously, then 4096 merges simultaneously, then 1024, etc etc. It always does the number you tell it to, as many times as it takes to process the list of things to do.
I don't think small sorts hurt you, especially since they're small enough to be cached. What hurts you are merges on too many files at once for the disk to seek between, reducing it's I/O throughput.
Remember you are trying to find a "sweet spot" where CPU use and disk throughput are both at peak -- where the system can sustain full disk and cpu use.
Quote:
True. I do not do anything to clear the caches before each run, but the tests are done by scripts that always do them in the same order, so I would expect more uniformity than I've seen so far.
Check if you're eating into swap sometimes. Hitting swap could have severe performance penalties that throw off your tests.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to understand the webserver log file for an error which has occured on my live web site.
The webserver access file is very big in size so it's not possible to open this file using vi editor. I know the approximate time the error occured, so i am interested in looking for the log file... (4 Replies)
Discussion started by: sehgalniraj
4 Replies
2. Shell Programming and Scripting
Hi All
I have approximately 10 files that are at least 100+ MB in size. I am importing them into a DB to output them to the web. What i need to do first is clean the files up so i dont have un necessary rows in the DB. Below is what the file looks like:
Ignore the <TAB> annotations as that... (4 Replies)
Discussion started by: caddyjoe77
4 Replies
3. UNIX for Dummies Questions & Answers
How do we check 'large files' is enabled on a Unix box -- HP-UX B11.11 (2 Replies)
Discussion started by: ranj@chn
2 Replies
4. UNIX for Dummies Questions & Answers
I was wondering how sort works.
Does file size and time to sort increase geometrically?
I have a 5.3 billion line file I'd like to use with sort -u I'm wondering if that'll take forever because of a geometric expansion?
If it takes 100 hours that's fine but not 100 days.
Thanks so much. (2 Replies)
Discussion started by: dcfargo
2 Replies
5. Shell Programming and Scripting
hello all,
kindly i need your help, i made a script to print a specific lines from a huge file about 3 million line. the output of the script will be about 700,000 line...the problem is the script is too slow...it kept working for 5 days and the output was only 200,000 lines !!!
the script is... (16 Replies)
Discussion started by: m_wassal
16 Replies
6. Shell Programming and Scripting
Hello everyone!
I have 2 types of files in the following format:
1) *.fa
>1234
...some text...
>2345
...some text...
>3456
...some text...
.
.
.
.
2) *.info
>1234 (7 Replies)
Discussion started by: ad23
7 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
I have problem with searching hundreds of CSV files, the problem is that search is lasting too long (over 5min).
Csv files are "," delimited, and have 30 fields each line, but I always grep same 4 fields - so is there a way to grep just those 4 fields to speed-up search.
Example:... (11 Replies)
Discussion started by: Whit3H0rse
11 Replies
8. Solaris
Hello everyone. Need some help copying a filesystem. The situation is this: I have an oracle DB mounted on /u01 and need to copy it to /u02. /u01 is 500 Gb and /u02 is 300 Gb. The size used on /u01 is 187 Gb. This is running on solaris 9 and both filesystems are UFS.
I have tried to do it using:... (14 Replies)
Discussion started by: dragonov7
14 Replies
9. UNIX for Advanced & Expert Users
Hello all -
I am to this forum and fairly new in learning unix and finding some difficulty in preparing a small shell script. I am trying to make script to sort all the files given by user as input (either the exact full name of the file or say the files matching the criteria like all files... (3 Replies)
Discussion started by: pankaj80
3 Replies
10. Shell Programming and Scripting
Hello,
I have a very large file of around 2 million records which has the following structure:
I have used the standard awk program to sort:
# wordfreq.awk --- print list of word frequencies
{
# remove punctuation
#gsub(/_]/, "", $0)
for (i = 1; i <= NF; i++)
freq++
}
END {
for (word... (3 Replies)
Discussion started by: gimley
3 Replies
LEARN ABOUT CENTOS
x11perfcomp
X11PERFCOMP(1) General Commands Manual X11PERFCOMP(1)
NAME
x11perfcomp - X11 server performance comparison program
SYNTAX
x11perfcomp [ -r | -ro ] [ -l label_file ] files
DESCRIPTION
The x11perfcomp program merges the output of several x11perf(1) runs into a nice tabular format. It takes the results in each file, fills
in any missing test results if necessary, and for each test shows the objects/second rate of each server. If invoked with the -r or -ro
options, it shows the relative performance of each server to the first server.
Normally, x11perfcomp uses the first file specified to determine which specific tests it should report on. Some (non-DEC :) servers may
fail to perform all tests. In this case, x11perfcomp automatically substitutes in a rate of 0.0 objects/second. Since the first file
determines which tests to report on, this file must contain a superset of the tests reported in the other files, else x11perfcomp will
fail.
You can provide an explicit list of tests to report on by using the -l switch to specify a file of labels. You can create a label file by
using the -label option in x11perf.
OPTIONS
x11perfcomp accepts the options listed below:
-r Specifies that the output should also include relative server performance.
-ro Specifies that the output should include only relative server performance.
-l label_file Specifies a label file to use.
X DEFAULTS
There are no X defaults used by this program.
SEE ALSO
X(7), x11perf(1)
AUTHORS
Mark Moraes wrote the original scripts to compare servers.
Joel McCormack just munged them together a bit.
X Version 11 x11perf 1.5.4 X11PERFCOMP(1)