Hi. I have a dual CPU Opteron 248 2.2 ghz w/ 6 gigs of ram, and a dual
CPU Xeon 5000 series, 3ghz, 8 gigs of ram. The Opteron takes 22
seconds and the Xeon takes 26 seconds to do this. I'm thinking about a
new machine with woodcrest. Could somebody try this benchmark on a
woodcrest machine? Could you say what cpu(s) and how much ram you
have?
Many thanks in advance.
----------
function result = test(iterations, matrixsize)
tic;
x = rand(matrixsize);
for i = 1:iterations
for j = 1:size(x(:,1))
y = abs(fft(x(j,:)));
end
end
! free
toc
----------
test(1,10000)
----------
Could somebody run this little matlab benchmark on a woodcrest?
Started by ●February 20, 2007
Reply by ●February 20, 20072007-02-20
On Feb 19, 11:38 pm, "BillJosephson" <billjoseph...@hotmail.com> wrote:> Hi. I have a dual CPU Opteron 248 2.2 ghz w/ 6 gigs of ram, and a dual > CPU Xeon 5000 series, 3ghz, 8 gigs of ram. The Opteron takes 22 > seconds and the Xeon takes 26 seconds to do this. I'm thinking about a > new machine with woodcrest. Could somebody try this benchmark on a > woodcrest machine? Could you say what cpu(s) and how much ram you > have? > > Many thanks in advance. > > ---------- > function result = test(iterations, matrixsize) > tic; > x = rand(matrixsize); > for i = 1:iterations > for j = 1:size(x(:,1)) > y = abs(fft(x(j,:))); > end > end > ! free > toc > ---------- > test(1,10000) > ----------Are your sure about those numbers? I tried the above on my P4, 2.8 GHZ, Matlab 7, and it has been running for more than 10 minutes ! now and my laptop is starting to heat up. Matlab is at 100% CPU as I write this (with difficulty) 750 MB RAM. There is no way that a core2 can be that much faster than P4?>>test(1,10000)BUSY Nasser
Reply by ●February 20, 20072007-02-20
On 2007-02-20, BillJosephson <billjosephson@hotmail.com> wrote:> Hi. I have a dual CPU Opteron 248 2.2 ghz w/ 6 gigs of ram, and a dual > CPU Xeon 5000 series, 3ghz, 8 gigs of ram. The Opteron takes 22 > seconds and the Xeon takes 26 seconds to do this. I'm thinking about a > new machine with woodcrest. Could somebody try this benchmark on a > woodcrest machine? Could you say what cpu(s) and how much ram you > have?System: dual Xeon 5160, 8GB RAM OS: CentOS 4.4 x86_64 Matlab: R14p3 (7.1.0.183) Elapsed time: 11.6s -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Reply by ●February 20, 20072007-02-20
BillJosephson wrote:> Hi. I have a dual CPU Opteron 248 2.2 ghz w/ 6 gigs of ram, and a dual > CPU Xeon 5000 series, 3ghz, 8 gigs of ram. The Opteron takes 22 > seconds and the Xeon takes 26 seconds to do this. I'm thinking about a > new machine with woodcrest. Could somebody try this benchmark on a > woodcrest machine? Could you say what cpu(s) and how much ram you > have?Some education for me please. What is woodcrest? Jerry -- Engineering is the art of making what you want from things you can get. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Reply by ●February 20, 20072007-02-20
On Feb 20, 10:36 am, Jerry Avins <j...@ieee.org> wrote:> BillJosephson wrote: > > Hi. I have a dual CPU Opteron 248 2.2 ghz w/ 6 gigs of ram, and a dual > > CPU Xeon 5000 series, 3ghz, 8 gigs of ram. The Opteron takes 22 > > seconds and the Xeon takes 26 seconds to do this. I'm thinking about a > > new machine with woodcrest. Could somebody try this benchmark on a > > woodcrest machine? Could you say what cpu(s) and how much ram you > > have? > > Some education for me please. What is woodcrest? > > Jerry > -- > Engineering is the art of making what you want from things you can get. > =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF==AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Jerry, Google "Intel Woodcrest" for info. John
Reply by ●February 20, 20072007-02-20
sampson164@gmail.com wrote: ...> Google "Intel Woodcrest" for info.Duh! I should have known. Jerry -- Engineering is the art of making what you want from things you can get. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Reply by ●February 20, 20072007-02-20
On Feb 20, 7:23 am, Joshua Baker-LePain <j...@begone.spam.duke.edu> wrote:> On 2007-02-20, BillJosephson <billjoseph...@hotmail.com> wrote: > > > Hi. I have a dual CPU Opteron 248 2.2 ghz w/ 6 gigs of ram, and a dual > > CPU Xeon 5000 series, 3ghz, 8 gigs of ram. The Opteron takes 22 > > seconds and the Xeon takes 26 seconds to do this. I'm thinking about a > > new machine with woodcrest. Could somebody try this benchmark on a > > woodcrest machine? Could you say what cpu(s) and how much ram you > > have? > > System: dual Xeon 5160, 8GB RAM > OS: CentOS 4.4 x86_64 > Matlab: R14p3 (7.1.0.183) > Elapsed time: 11.6s > > -- > Joshua Baker-LePain > Department of Biomedical Engineering > Duke UniversityWoo hoo! Thanks a lot Joshua!
Reply by ●February 20, 20072007-02-20
In comp.os.linux.misc BillJosephson <billjosephson@hotmail.com> wrote:
: Hi. I have a dual CPU Opteron 248 2.2 ghz w/ 6 gigs of ram, and a dual
: CPU Xeon 5000 series, 3ghz, 8 gigs of ram. The Opteron takes 22
: seconds and the Xeon takes 26 seconds to do this. I'm thinking about a
: new machine with woodcrest. Could somebody try this benchmark on a
: woodcrest machine? Could you say what cpu(s) and how much ram you
: have?
: Many thanks in advance.
: ----------
: function result = test(iterations, matrixsize)
: tic;
: x = rand(matrixsize);
: for i = 1:iterations
: for j = 1:size(x(:,1))
: y = abs(fft(x(j,:)));
: end
: end
: ! free
: toc
: ----------
: test(1,10000)
: ----------
I can access Matlab but not much of a matlab user so I seem to need
a hint or two. When I copy the above llines into Matlab I get
?? function result = test(iterations, matrixsize)
|
Error: Function definitions are not permitted at the prompt or in scripts.
How do I run this code? ( 64-bit Matlab on dudal dual-core 3.2 GHz xeon )
Stan
--
Stan Bischof ("stan" at the below domain)
www.worldbadminton.com
Reply by ●February 20, 20072007-02-20
On Feb 20, 9:28 am, s...@worldbadminton.com wrote:> In comp.os.linux.misc BillJosephson <billjoseph...@hotmail.com> wrote: > : Hi. I have a dual CPU Opteron 248 2.2 ghz w/ 6 gigs of ram, and a dual > : CPU Xeon 5000 series, 3ghz, 8 gigs of ram. The Opteron takes 22 > : seconds and the Xeon takes 26 seconds to do this. I'm thinking about a > : new machine with woodcrest. Could somebody try this benchmark on a > : woodcrest machine? Could you say what cpu(s) and how much ram you > : have? > > : Many thanks in advance. > > : ---------- > : function result = test(iterations, matrixsize) > : tic; > : x = rand(matrixsize); > : for i = 1:iterations > : for j = 1:size(x(:,1)) > : y = abs(fft(x(j,:))); > : end > : end > : ! free > : toc > : ---------- > : test(1,10000) > : ---------- > > I can access Matlab but not much of a matlab user so I seem to need > a hint or two. When I copy the above llines into Matlab I get > > ?? function result = test(iterations, matrixsize) > | > Error: Function definitions are not permitted at the prompt or in scripts. > > How do I run this code? ( 64-bit Matlab on dudal dual-core 3.2 GHz xeon ) > > Stan > -- > Stan Bischof ("stan" at the below domain)www.worldbadminton.comHi Jerry. Well, this is a very powerful part of matlab, the ability to write a function in the editor, and store that as an *.m file. The you can call the function any time later and let it do its thing for you. To do it, you open a new file in the editor, and the first line has to say function [outputvariable] = [functionname]( [any paramters you want to give to the function] ) like this: function output = myfunction(someDataMatrix, someOtherValue) Now you can have any amount of code to do stuff with teh input data, or just on its own without input data, and you send back the final result in the output varialbe. Later, you can call the function in the matlab window, or from another function: someMatrix = myfunction(inputMatrix, otherValue); Just like built in funcitons, such as fft: freqdomain = fft(timearray); Using functions is pretty necessary for large programs.
Reply by ●February 20, 20072007-02-20
On Feb 20, 9:28 am, s...@worldbadminton.com wrote:> In comp.os.linux.misc BillJosephson <billjoseph...@hotmail.com> wrote: > : Hi. I have a dual CPU Opteron 248 2.2 ghz w/ 6 gigs of ram, and a dual > : CPU Xeon 5000 series, 3ghz, 8 gigs of ram. The Opteron takes 22 > : seconds and the Xeon takes 26 seconds to do this. I'm thinking about a > : new machine with woodcrest. Could somebody try this benchmark on a > : woodcrest machine? Could you say what cpu(s) and how much ram you > : have? > > : Many thanks in advance. > > : ---------- > : function result = test(iterations, matrixsize) > : tic; > : x = rand(matrixsize); > : for i = 1:iterations > : for j = 1:size(x(:,1)) > : y = abs(fft(x(j,:))); > : end > : end > : ! free > : toc > : ---------- > : test(1,10000) > : ---------- > > I can access Matlab but not much of a matlab user so I seem to need > a hint or two. When I copy the above llines into Matlab I get > > ?? function result = test(iterations, matrixsize) > | > Error: Function definitions are not permitted at the prompt or in scripts. > > How do I run this code? ( 64-bit Matlab on dudal dual-core 3.2 GHz xeon ) > > Stan > -- > Stan Bischof ("stan" at the below domain)www.worldbadminton.comHi, see my reply to Jerry, it actually was meant for this question.






