Page 1 of 2 12 LastLast
Results 1 to 16 of 19

Thread: SMP - Quad vs Dual core

  1. #1
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    738
    Thanked
    1,609 times in 1,048 posts

    SMP - Quad vs Dual core

    Anyone know how much of a difference there is?

    Cheers
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,026 times in 677 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: SMP - Quad vs Dual core

    the "smp" f@h client is hard-coded to 4-way

    if you run it on a dual-core box, then you have 2 processes per cpu, which means the cpu has to spend time swapping contexts in and out

  3. #3
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    738
    Thanked
    1,609 times in 1,048 posts

    Re: SMP - Quad vs Dual core

    I'm running dual core here, but there is definitely 4 processes running?

    4* FahCore_a1.exe
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  4. #4
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,026 times in 677 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: SMP - Quad vs Dual core

    Code:
    jms      27018 18188  0 06:47 pts/0    00:00:00 ./mpiexec -np 4 -host 127.0.0.1
    jms      27019 27018 62 06:47 pts/0    08:57:59 ./FahCore_a1.exe -dir work/ -suf
    jms      27020 27018 56 06:47 pts/0    08:06:52 ./FahCore_a1.exe -dir work/ -suf
    jms      27021 27018 39 06:47 pts/0    05:35:10 ./FahCore_a1.exe -dir work/ -suf
    jms      27022 27018 25 06:47 pts/0    03:40:37 ./FahCore_a1.exe -dir work/ -suf

  5. #5
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    738
    Thanked
    1,609 times in 1,048 posts

    Re: SMP - Quad vs Dual core

    ack, I didn't read what you actually wrote!

    I understand it'll be swapping things about, but by how much, and whats that translate into performance hit wise?
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  6. #6
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,026 times in 677 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: SMP - Quad vs Dual core

    Quote Originally Posted by Agent View Post
    ack, I didn't read what you actually wrote!

    I understand it'll be swapping things about, but by how much, and whats that translate into performance hit wise?
    depends on your OS kernel and CPU design

    first, there's a question of timer resolution - i.e. how long a particular process has to operate before the OS can consider doing other stuff. on linux, this is something determined at compile-time in the kernel. on this system, it's 250Hz (i.e. things can run for 250 CPU cycles before the OS might swap something else in).

    next, there's the question of how the OS deals with the competing processes - how fairly it allocates time between the f@h processes (and other processes requiring cpu attention like the mouse driver). this is all a bit up in the air, but certainly the 2.6 linux kernel was a phenomenal improvement over 2.4 in this regard

    finally there's the question of CPU design. swapping out one process for another takes a bigger performance hit on some CPUs than others - for example, remember Prescott P4? the big problem there was a massive pipeline - it took over 30 cycles for the cpu to actually start outputting work, after every context switch. multiple processes, more switching, more impact sue to the long pipeline

  7. #7
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    738
    Thanked
    1,609 times in 1,048 posts

    Re: SMP - Quad vs Dual core

    I'm aware of the majority of that, although Kernel level stuff is over my head, but I was looking for actual figures / benchmarks in the field

    I'm just trying to justify buying a quad
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  8. #8
    Network|Geek kidzer's Avatar
    Join Date
    Jul 2005
    Location
    Aberdeenshire
    Posts
    1,732
    Thanks
    91
    Thanked
    46 times in 41 posts
    • kidzer's system
      • Motherboard:
      • $motherboard
      • CPU:
      • Intel Q6600
      • Memory:
      • 4GB
      • Storage:
      • 1TiB Samsung
      • Graphics card(s):
      • BFG 8800GTS OC
      • PSU:
      • Antec Truepower
      • Case:
      • Antec P160
      • Operating System:
      • Windows 7
      • Monitor(s):
      • 20" Viewsonic
      • Internet:
      • ~3Mbps ADSL (TalkTalk Business)

    Re: SMP - Quad vs Dual core

    You will get more F@H points, Quad Core Justified
    "If you're not on the edge, you're taking up too much room!"
    - me, 2005

  9. #9
    Get in the van. Fraz's Avatar
    Join Date
    Aug 2007
    Location
    Bristol
    Posts
    2,919
    Thanks
    283
    Thanked
    396 times in 230 posts
    • Fraz's system
      • Motherboard:
      • Gigabyte X58A-UD5
      • CPU:
      • Watercooled i7-980X @ 4.2 GHz
      • Memory:
      • 24GB Crucial DDR3-1333
      • Storage:
      • 240 GB Vertex2E + 2 TB of Disk
      • Graphics card(s):
      • Water-cooled Sapphire 7970 @ 1175/1625
      • PSU:
      • Enermax Modu87+
      • Case:
      • Corsair 700D
      • Operating System:
      • Linux Mint 12 / Windows 7
      • Monitor(s):
      • Dell 30" 3008WFP and two Dell 24" 2412M
      • Internet:
      • Virgin Media 60 Mbps

    Re: SMP - Quad vs Dual core

    Quote Originally Posted by Agent View Post
    I'm just trying to justify buying a quad
    It's twice as good.

    Will that do?!

  10. #10
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: SMP - Quad vs Dual core

    Kernels have really come a long way since pre-emptive multithreading, which iirc was in windows in NT4 but took just linux a little bit longer.

    There are so many issues that will bottle neck the domestic multi core pc. Resources like an IDE CD Drive can 'lock' all the cores. This is a very common performance killer.

    Also sorry hex, the EE inside me can't let you use 250hz like that... you explain 250 cycles, which of course, might not occur 250 cycles a second.
    throw new ArgumentException (String, String, Exception)

  11. #11
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,026 times in 677 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: SMP - Quad vs Dual core

    Quote Originally Posted by TheAnimus View Post
    Also sorry hex, the EE inside me can't let you use 250hz like that... you explain 250 cycles, which of course, might not occur 250 cycles a second.
    you're right, my mistake. i think it's indeed 250Hz, regardless of clock speed

  12. #12
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: SMP - Quad vs Dual core

    I must admit as of 2.6 i thought it was ment to be adaptive? (kinda like NT has been well, since MS bought the code)
    throw new ArgumentException (String, String, Exception)

  13. #13
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,026 times in 677 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: SMP - Quad vs Dual core

    2.6 made it configurable (at compile time), previously it was hard-coded to 1KHz

    a very recent patch brought in a "tickless" kernel which removes interrupt polling entirely, though i forget which version that is (and it's not the default in most distros) (edit: 2.6.21)

  14. #14
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable

    Re: SMP - Quad vs Dual core

    I believe the tickless patch was only included in vanilla 2.6.23.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  15. #15
    Senior Member joshwa's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield, UK
    Posts
    4,851
    Thanks
    129
    Thanked
    67 times in 62 posts
    • joshwa's system
      • Motherboard:
      • PC Chips M577 AT/ATX
      • CPU:
      • AMD K6-2 500Mhz
      • Memory:
      • 128mb PC100 SDRAM
      • Storage:
      • 8GB Fujitsu
      • Graphics card(s):
      • 3dfx Voodoo 3 3000 AGP (16mb)
      • PSU:
      • ATX 500watt
      • Case:
      • Midi Tower AT
      • Operating System:
      • Windows 98 SE
      • Monitor(s):
      • 22" TFT Widescreen

    Re: SMP - Quad vs Dual core

    My quad core (2.4 @ 3.0ghz) takes just over 15 hours to complete a work unit (500,000 steps)... my dual core (2ghz) takes roughly 41 hours* to complete the same amount of work...

    * based on 1 pc taking 25 minutes.

  16. #16
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    738
    Thanked
    1,609 times in 1,048 posts

    Re: SMP - Quad vs Dual core

    I'm on a core 2 duo @ about 3.0ghz, takes about 30 hours (ish), going on the last 20% taking 6 hours.
    So that is around double then Josh - Interesting, seems to be highly optimised for quads then

    Think I will do a bit of saving, get the new water cooling kit first, so I can clock it like mad
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. single core? or dual core ? dilema
    By wazi in forum PC Hardware and Components
    Replies: 8
    Last Post: 17-06-2007, 08:55 PM
  2. Intel Core Duo vs AMD Athlon Dual Core
    By gino_76ph in forum Help! Quick Relief From Tech Headaches
    Replies: 11
    Last Post: 09-11-2006, 08:15 PM
  3. Games PC - Dual Core? Budget £1,500 approx
    By Rev_Hill in forum Pre-Built Laptops and Desktops
    Replies: 12
    Last Post: 14-09-2005, 02:57 PM
  4. Dual Core system
    By Mike Fishcake in forum PC Hardware and Components
    Replies: 24
    Last Post: 06-07-2005, 08:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •