LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-26-2014, 08:58 AM   #16
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282

So yours run 64 bit fine. What I'm trying to determine is that cutover point where the hardware can run 64 bit faster than 32 bit.

My previous attempt with a 64bit CPU and 2G of ram in a laptop the 32 bit OS was faster then 64 bit. Maybe it was too little RAM, maybe too little CPU cache, maybe something else.

So what I want to do with my new hardware is determine quickly which would be the better OS. If I say install 32 but and benchmark it and let that be the control so its speed is the reference of 1. Then install 64 bit and benchmark it and is it > 1 or < 1 i.e. is it faster than 32 bit or like my old hardware slower.

Whats the best,quickest way to benchmark it to get that comparison rather than installing 32 or 64 bit then using it for a couple months then installing the other and use it for a couple months.

Its more of a 'how do I decide which to install 64 or 32 bit' rather than installing 64 bit like before and realizing it was a mistake a couple months later and having to redo the whole system.

Last edited by enine; 08-26-2014 at 09:05 AM.
 
Old 08-26-2014, 09:29 AM   #17
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
You know, it only takes about 20 minutes to do a full install (32- or 64-bit). You don't even need to do all the patches (although that would be nice).

This is a lot easier if you've got the double-side DVD, but...

If you've got the source for something that you think would be a good test, say with a SlackBuild, install it, run it and see what you get. Then install the other "bit," run the SlackBuild and see what you get. You don't have to configure a lot stuff, just do a full install, boot it and run a couple of tests, at little touch and feel with either KDE or Xfce or whatever.

Slackware 64.1 patches do include kernel patches and they're important (32-bit doesn't have kernel patches).

You really need to judge by what you actually do, maybe a day or two without installing an entire back up of your home directory and everything else you usually put on might be in order; it's not that big a deal to wipe it clean and go again. Use it a little and see what happens, you know?

In my experience, laptops run like three-legged dogs with busted tails compared to desktops and servers. I have an Inspiron 64-bit laptop with 8G RAM and it stumbles over its own feet compared to the desktops. They really just aren't the same.

Hope this helps some.
 
Old 08-26-2014, 10:02 AM   #18
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Just trying to get some quantitative numbers to go along with the "this one feels faster"

I found a simple benchmark on SBo called nbench. I ran on my laptop and my old via MB to get some numbers. I found the numbers would vary some depending on the load so I dropped to init 3 to run it on both. It is also affected by the processor speedstep (or wherever its called now) where the cpu speed was reported differently depending on the load of the system. So my laptop would show 1.3Ghz one run and 800MHz another.

Last edited by enine; 08-26-2014 at 10:09 AM.
 
Old 08-26-2014, 10:49 AM   #19
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
I did a bit of casual benchmarking on my laptop (Intel Pentium Dual Core T2330, 1.6 GHz) to compare 32 & 64-bit performance based on this:
http://benchmarksgame.alioth.debian....&lang=gcc&id=1

Code:
$ gcc -pipe -Wall -O3 -fomit-frame-pointer -march=native  pidigits.c -o pidigits -lgmp
$ time ./pidigits 10000
The results:
Slackware64 14.1:
Code:
real    0m2.770s
user    0m2.700s
sys     0m0.029s
Slackware 14.1:
Code:
real    0m5.744s
user    0m5.607s
sys     0m0.053s
 
Old 08-26-2014, 12:03 PM   #20
genss
Member
 
Registered: Nov 2013
Posts: 741

Rep: Reputation: Disabled
http://en.wikipedia.org/wiki/Hierarchical_INTegration
 
Old 08-27-2014, 07:58 AM   #21
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
A problem of benchmarking a computer system is that almost whatever you choose to do the benchmark will be unrealistic in some way. Back in the day, when folks were running 8080 and Z-80 processors on "small" machines (with CP/M, Control Program for Microprocessors or similar operating systems, see http://en.wikipedia.org/wiki/CP/M), perhaps 32- to 64 kilobytes of RAM, floppy disks (or maybe 10-to-50 megabyte hard disk drives) a favorite algorithm for testing the speed of the system was the seive of Erastophanes, an algorithm for finding prime numbers up to a given limit.

You would load up a seive program written in assembly language or BASIC or, as time went on, C, Pascal or something else and execute it: the higher the number of seives you got, the faster the computer system. The problem was that you were only running one process (no multitasking there) so the only thing you could conclude was that machine X was faster that Machine Y (or A, B, C, Z, whatever). Didn't really tell you much of anything about how anything else would perform (see http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes for a fuller discussion): we're talking the 70's and 80's here.

As time went on machines got better and faster and "real" operating systems became available on microcomputer; by "real" we mean multiuser, multitasking operating systems, Unix and others and benchmarks became all the rage. Vendors were selling computer systems into given markets based upon how a given benchmark performs on their hardware and software: You're doing engineering, here's how our box performs running benchmark X. Sold a lot of computer systems.

However, the problem of benchmarking remained: executing an isolated benchmark program with no other activity on the system does not produce truly meaningful results, a hint maybe, but not what's going to happen when you have 30 or more users doing whatever they're doing when this particular application executes.

I spent a lot of my time as a software engineer optimizing code (usually in small chunks). I worked in FORTRAN and C, later exclusively in C and SQL on multiterabyte data bases (plural: something like 20 data bases all pretty much the same size being accessed simultaneously by 20-30 users). Data base design is more an art than a science and query optimization can be a frustrating process; the only test is did I get the correct result and did this query run faster than the older query? Nope, well give 'er anther shot until you get to the "best" balance of resources and speed.

When we're running a single user system (which, I suspect, most of us are most of the time), we experience sometimes clunky performance by a given application. Might be memory limits, might be processor limits, might be disk I/O limits, who knows; could be just a monster program designed and developed by not so hot programmers (including ourselves: been there, done that, paid the price doing it over). If you're running finite element analysis on the Golden Gate bridge, it's going to take a while and other things are going to slow down, eh?

The Linux system is pretty darned efficient -- lots of daemons sleeping, waking up every so ofter, doing something then going back to sleep. Ever better kernel, ever better (usually) applications, ever better compilers, ever better hardware.

As suggested by @genss above, Hierarchical INTegration (HINT) might be an answer to the benchmarking conundrum:
Quote:
Hierarchical INTegration, or HINT for short, is a computer benchmark that ranks a computer system as a whole (i.e. the entire computer instead of individual components). It measures the full range of performance, mostly based on the amount of work a computer can perform over time.
I suspect that HINT is a step in the right direction (and I'm going to download and give it a try when I've got some time after reading the links in the Wikipedia article link given by @genss). Might just be more meaningful.

Hope this helps some.
 
1 members found this post helpful.
Old 08-27-2014, 04:33 PM   #22
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Based on experience, not theory, 2GB of RAM is good for 32-bit, but 4GB is reasonable for 64-bit operating systems (not only Linux, but MS Windows 7/8.x, too). However, AFAIK, *if* a 64-bit system has enough RAM, it can address it faster than a 32-bit system, as some number conversions aren't necessary, that are done, when a 32-bit system is running on 64-bit hardware. Don't ask me for details --- others here are much better qualified to answer such questions.
 
  


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
LXer: This Week: Benchmarking, Benchmarking, & IGDNG LXer Syndicated Linux News 0 08-16-2009 10:50 PM
Benchmarking TL_CLD Slackware 3 10-16-2007 08:42 AM
Video benchmarking in Slackware cwwilson721 Slackware 4 08-25-2006 06:40 PM
Benchmarking DM or WM justanothersteve Linux - Desktop 3 08-08-2006 09:27 AM
Benchmarking goldfish_memory Linux - General 1 11-18-2005 12:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:38 AM.

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