Processor family AMD Sempron 3000

Postate qui per tutte le discussioni legate a Linux in generale.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Avatar utente
albatros
Iper Master
Iper Master
Messaggi: 2098
Iscritto il: sab 4 feb 2006, 13:59
Kernel: 6.18.0
Desktop: gnome and lxqt
Distribuzione: Ubuntu 24.04 & FC 41
Località: Darmstadt - Germania

Messaggio da albatros »

Mi accodo a questo thread per chiedere lumi.
Sono anni che compilo il kernel per il mio PC, ma c'e' una cosa che non ho mai capito: adesso che ho un Sempron 3200 (a 64 bit), oltre a mettere l'opzione k8 nella configurazione del kernel, per passare la gcc l'opzione -march=k8, cosa devo fare? Devo mettere a mano
-march=k8
alla riga CFLAGS del Makefile principale?
Lo stesso per abilitare le sse3? (-msse3).
Mah, senti, prendi con le molle quello che ti dirò perché non ho mai approfondito più di tanto..
Dato che man gcc dice per k8:

k8, opteron, athlon64, athlon-fx
AMD K8 core based CPUs with x86-64 instruction set
support. (This supersets MMX, SSE, SSE2, 3dNOW!,
enhanced 3dNOW! and 64-bit instruction set exten-
sions.)

visto che io compilo e ho librerie a 32 bit uso il seguente alias per il configure:
alias konf='CFLAGS='\''-mfpmath=sse -msse2 -msse3 -m3dnow -march=athlon-xp -pipe -O2'\'' CXXFLAGS='\''-mfpmath=sse -msse2 -msse3 -m3dnow -march=athlon-xp -pipe -O2'\'' ./configure'
Qualche flag è ridondante, ad esempio -m3dnow dovrebbe essere incluso nell'athlon-xp, ma io ce l'ho messo ugualmente :roll: , mentre per -mfpmath non aggiungere anche ,387 forse diminuisce le perfomance, ma migliora la stabilità.
man gcc, se hai pazienza di leggerlo e di documentarti (io l'ho avuta fino a un certo punto), ti dice molte cose...
Per i programmini elementari scritti da me uso un simile alias per gcc...
Se devo passare altre opzioni di ottimizzazione, mettiamo un -O3, faccio precedere il CFLAGS al ./configure, i Makefile li modifico a mano solo se devo (all'inizio lo facevo, toglievo a mano ad esempio il flag -g, poi mi sono fatto uno scriptino per levarlo automaticamente ricorsivamente, poi ho scoperto make install-strip e poi strip... :) ).

sir_alex
Linux 3.x
Linux 3.x
Messaggi: 735
Iscritto il: lun 21 mar 2005, 0:00
Kernel: 2.6.35-22
Desktop: KDE4
Distribuzione: Ubuntu
Località: Milano - Corbola (RO)
Contatta:

Messaggio da sir_alex »

Bè io non ho il flag lm, e comunque ho provato la ubuntu 6.06 live che è l'unica distro che avevo in casa anche a 64 bit, ma mi ha risposto picche... anche perchè alla fine nel settembre del 2005 non è che ci fosse una gran diffusione dei processori a 64 bit! Alla fine penso che lspci che ho postato sia un discorso del kernel che è messo in confusione di suo... difatti se carico powernow-k7 mi dice no such device ma se compilo per k8 va in paranoia modprobe! Tra l'altro con lsmod ho scoperto che il sistema carica un amd64_agp...

Avatar utente
Luci0
Staff
Staff
Messaggi: 3591
Iscritto il: lun 27 giu 2005, 0:00
Nome Cognome: Gabriele Santanché
Slackware: 12.2 14.0
Kernel: 2.6.27.46- gen 3.2.29
Desktop: KDE 3.5.10 Xfce
Località: Forte dei Marmi
Contatta:

Messaggio da Luci0 »

Ciao ...
La scheda madre supporta sicuramente i processori a 64 bit ... e di sicuro non é un Sempron socket A ...
A questo punto bisogna sapere se quel Sempron é a 64bit io credo che lo sia... prova con un

Codice: Seleziona tutto

cat /proc/cpuinfo
:-)

Avatar utente
robbybby
Linux 4.x
Linux 4.x
Messaggi: 1223
Iscritto il: sab 16 dic 2006, 10:48
Slackware: 13.1 / 64 bit
Kernel: 3.3.x
Desktop: KDE 4.4.5
Località: Fra Trantor e Terminus

Messaggio da robbybby »

Io ho un Sempron a 64 bit, ma da /proc/cpuid non vedo niente, a una veloce occhiata, che me lo confermi.
Invece, con il programma cpuid mi da' queste info (notare le varie righe che fanno riferimento ai 64 bit che sono a true):

Codice: Seleziona tutto

CPU:
   vendor_id = "AuthenticAMD"
   version information (1/eax):
      processor type  = primary processor (0)
      family          = Intel Pentium 4/Pentium D/Pentium Extreme Edition/Celeron/Xeon/Xeon MP/Itanium2, AMD Athlon 64/Athlon XP-M/Opteron/Sempron/Turion (15)
      model           = 0xf (15)
      stepping id     = 0x2 (2)
      extended family = 0x0 (0)
      extended model  = 0x4 (4)
      (simple synth)  = AMD Opteron / Athlon 64 / Athlon 64 FX / Sempron / Dual Core Opteron / Athlon 64 X2 / mobile Athlon 64 / mobile Sempron / mobile Athlon XP-M (DP) (unknown model)
   miscellaneous (1/ebx):
      process local APIC physical ID = 0x0 (0)
      cpu count                      = 0x0 (0)
      CLFLUSH line size              = 0x8 (8)
      brand index                    = 0x0 (0)
   brand id = 0x00 (0): unknown
   feature information (1/edx):
      x87 FPU on chip                        = true
      virtual-8086 mode enhancement          = true
      debugging extensions                   = true
      page size extensions                   = true
      time stamp counter                     = true
      RDMSR and WRMSR support                = true
      physical address extensions            = true
      machine check exception                = true
      CMPXCHG8B inst.                        = true
      APIC on chip                           = true
      SYSENTER and SYSEXIT                   = true
      memory type range registers            = true
      PTE global bit                         = true
      machine check architecture             = true
      conditional move/compare instruction   = true
      page attribute table                   = true
      page size extension                    = true
      processor serial number                = false
      CLFLUSH instruction                    = true
      debug store                            = false
      thermal monitor and clock ctrl         = false
      MMX Technology                         = true
      FXSAVE/FXRSTOR                         = true
      SSE extensions                         = true
      SSE2 extensions                        = true
      self snoop                             = false
      hyper-threading / multi-core supported = false
      therm. monitor                         = false
      IA64                                   = false
      pending break event                    = false
   feature information (1/ecx):
      PNI/SSE3: Prescott New Instructions    = true
      MONITOR/MWAIT                          = false
      CPL-qualified debug store              = false
      VMX: virtual machine extensions        = false
      Enhanced Intel SpeedStep Technology    = false
      thermal monitor 2                      = false
      context ID: adaptive or shared L1 data = false
      cmpxchg16b available                   = true
      xTPR disable                           = false
   extended processor signature (0x80000001/eax):
      generation     = AMD Athlon 64/Opteron/Sempron/Turion (15)
      model          = 0xf (15)
      stepping       = 0x2 (2)
      (simple synth) = AMD Opteron / Athlon 64 / Sempron / Turion / Athlon 64 FX / Athlon XP-M / mobile Athlon 64 / mobile Sempron / mobile Athlon XP-M (unknown)
   extended feature flags (0x80000001/edx):
      x87 FPU on chip                       = true
      virtual-8086 mode enhancement         = true
      debugging extensions                  = true
      page size extensions                  = true
      time stamp counter                    = true
      RDMSR and WRMSR support               = true
      physical address extensions           = true
      machine check exception               = true
      CMPXCHG8B inst.                       = true
      APIC on chip                          = true
      SYSCALL and SYSRET instructions       = true
      memory type range registers           = true
      global paging extension               = true
      machine check architecture            = true
      conditional move/compare instruction  = true
      page attribute table                  = true
      page size extension                   = true
      multiprocessing capable               = false
      no-execute page protection            = true
      AMD multimedia instruction extensions = true
      MMX Technology                        = true
      FXSAVE/FXRSTOR                        = true
      SSE extensions                        = true
      RDTSCP                                = true
      long mode (AA-64)                     = true
      3DNow! instruction extensions         = true
      3DNow! instructions                   = true
   extended brand id = 0xd11 (3345):
      MSB = reserved (0b110100)
      NN  = 0x11 (17)
   AMD feature flags (0x80000001/ecx):
      LAHF/SAHF supported in 64-bit mode = true
      CMP Legacy                         = false
      SVM: secure virtual machine        = false
      AltMovCr8                          = true
   brand = "AMD Sempron(tm) Processor 3200+"
   L1 TLB/cache information: 2M/4M pages & L1 TLB (0x80000005/eax):
      instruction # entries     = 0x8 (8)
      instruction associativity = 0xff (255)
      data # entries            = 0x8 (8)
      data associativity        = 0xff (255)
   L1 TLB/cache information: 4K pages & L1 TLB (0x80000005/ebx):
      instruction # entries     = 0x20 (32)
      instruction associativity = 0xff (255)
      data # entries            = 0x20 (32)
      data associativity        = 0xff (255)
   L1 data cache information (0x80000005/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 0x2 (2)
      size (Kb)         = 0x40 (64)
   L1 instruction cache information (0x80000005/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 0x2 (2)
      size (Kb)         = 0x40 (64)
   L2 TLB/cache information: 2M/4M pages & L2 TLB (0x80000006/eax):
      instruction # entries     = 0x0 (0)
      instruction associativity = L2 off (0)
      data # entries            = 0x0 (0)
      data associativity        = L2 off (0)
   L2 TLB/cache information: 4K pages & L2 TLB (0x80000006/ebx):
      instruction # entries     = 0x200 (512)
      instruction associativity = 4-way (4)
      data # entries            = 0x200 (512)
      data associativity        = 4-way (4)
   L2 unified cache information (0x80000006/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 16-way (8)
      size (Kb)         = 0x80 (128)
   Advanced Power Management Features (0x80000007/edx):
      temperature sensing diode      = 0x1 (1)
      frequency ID (FID) control     = 0x1 (1)
      voltage ID (VID) control       = 0x1 (1)
      thermal trip (TTP)             = 0x1 (1)
      thermal monitor (TM)           = 0x1 (1)
      software thermal control (STC) = 0x1 (1)
      TscInvariant                   = 0x0 (0)
   Physical Address and Linear Address Size (0x80000008/eax):
      maximum physical address = 0x28 (40)
      maximum linear address   = 0x30 (48)
   Logical CPU cores (0x80000008/ecx):
      number of logical CPU cores - 1 = 0x0 (0)
      ApicIdCoreIdSize                = 0x0 (0)
   SVM Secure Virtual Machine (0x8000000a/eax):
      SvmRev: SVM revision = 0x0 (0)
   SVM Secure Virtual Machine (0x8000000a/edx):
      LBR virtualization = false
   NASID: number of address space identifiers = 0x0 (0):
   (multi-processing synth): none
   (synth) = AMD Opteron / Athlon 64 / Athlon 64 FX / Sempron / Dual Core Opteron / Athlon 64 X2 / mobile Athlon 64 / mobile Sempron / mobile Athlon XP-M (DP) (unknown model) Processor 8130
Ultima modifica di robbybby il mer 3 gen 2007, 22:40, modificato 1 volta in totale.

Avatar utente
albatros
Iper Master
Iper Master
Messaggi: 2098
Iscritto il: sab 4 feb 2006, 13:59
Kernel: 6.18.0
Desktop: gnome and lxqt
Distribuzione: Ubuntu 24.04 & FC 41
Località: Darmstadt - Germania

Messaggio da albatros »

Io non ho windows, comunque, se vuoi qualcosa di più immediato da leggere, cpu-z funziona anche con wine.
L'ho provata tempo fa, sulla ram diceva poco, sulla scheda madre nulla, almeno nel mio caso, però sulla cpu diverse infomazioni le dava, fra cui il fatto che fosse abilitata o meno alle istruzioni sse2, sse3, x86-64, 3dnow...

sir_alex
Linux 3.x
Linux 3.x
Messaggi: 735
Iscritto il: lun 21 mar 2005, 0:00
Kernel: 2.6.35-22
Desktop: KDE4
Distribuzione: Ubuntu
Località: Milano - Corbola (RO)
Contatta:

Messaggio da sir_alex »

So:

Codice: Seleziona tutto

CPU 0:
   vendor_id = "AuthenticAMD"
   version information (1/eax):
      processor type  = primary processor (0)
      family          = Intel Pentium 4/Pentium D/Pentium Extreme Edition/Celeron/Xeon/Xeon MP/Itanium2, AMD Athlon 64/Athlon XP-M/Opteron/Sempron/Turion (15)
      model           = 0xc (12)
      stepping id     = 0x2 (2)
      extended family = 0x0 (0)
      extended model  = 0x2 (2)
      (simple synth)  = AMD Sempron (Palermo DH-E6) / mobile Sempron (Palermo DH-E6), 754-pin, 90nm
   miscellaneous (1/ebx):
      process local APIC physical ID = 0x0 (0)
      cpu count                      = 0x0 (0)
      CLFLUSH line size              = 0x8 (8)
      brand index                    = 0x0 (0)
   brand id = 0x00 (0): unknown
   feature information (1/edx):
      x87 FPU on chip                        = true
      virtual-8086 mode enhancement          = true
      debugging extensions                   = true
      page size extensions                   = true
      time stamp counter                     = true
      RDMSR and WRMSR support                = true
      physical address extensions            = true
      machine check exception                = true
      CMPXCHG8B inst.                        = true
      APIC on chip                           = true
      SYSENTER and SYSEXIT                   = true
      memory type range registers            = true
      PTE global bit                         = true
      machine check architecture             = true
      conditional move/compare instruction   = true
      page attribute table                   = true
      page size extension                    = true
      processor serial number                = false
      CLFLUSH instruction                    = true
      debug store                            = false
      thermal monitor and clock ctrl         = false
      MMX Technology                         = true
      FXSAVE/FXRSTOR                         = true
      SSE extensions                         = true
      SSE2 extensions                        = true
      self snoop                             = false
      hyper-threading / multi-core supported = false
      therm. monitor                         = false
      IA64                                   = false
      pending break event                    = false
   feature information (1/ecx):
      PNI/SSE3: Prescott New Instructions    = true
      MONITOR/MWAIT                          = false
      CPL-qualified debug store              = false
      VMX: virtual machine extensions        = false
      Enhanced Intel SpeedStep Technology    = false
      thermal monitor 2                      = false
      context ID: adaptive or shared L1 data = false
      cmpxchg16b available                   = false
      xTPR disable                           = false
   extended processor signature (0x80000001/eax):
      generation     = AMD Athlon 64/Opteron/Sempron/Turion (15)
      model          = 0xc (12)
      stepping       = 0x2 (2)
      (simple synth) = AMD Sempron (Venice DH-E6) / mobile Sempron (Palermo DH-E6), 754-pin, 90nm
   extended feature flags (0x80000001/edx):
      x87 FPU on chip                       = true
      virtual-8086 mode enhancement         = true
      debugging extensions                  = true
      page size extensions                  = true
      time stamp counter                    = true
      RDMSR and WRMSR support               = true
      physical address extensions           = true
      machine check exception               = true
      CMPXCHG8B inst.                       = true
      APIC on chip                          = true
      SYSCALL and SYSRET instructions       = true
      memory type range registers           = true
      global paging extension               = true
      machine check architecture            = true
      conditional move/compare instruction  = true
      page attribute table                  = true
      page size extension                   = true
      multiprocessing capable               = false
      no-execute page protection            = true
      AMD multimedia instruction extensions = true
      MMX Technology                        = true
      FXSAVE/FXRSTOR                        = true
      SSE extensions                        = true
      RDTSCP                                = false
      long mode (AA-64)                     = false
      3DNow! instruction extensions         = true
      3DNow! instructions                   = true
   extended brand id = 0x8c6 (2246):
      MSB = mobile client, 32-bit, low-power mobile VIDs (0b100011)
      NN  = 0x46 (70)
   AMD feature flags (0x80000001/ecx):
      LAHF/SAHF supported in 64-bit mode = false
      CMP Legacy                         = false
      SVM: secure virtual machine        = false
      AltMovCr8                          = false
   brand = "Mobile AMD Sempron(tm) Processor 3000+"
   L1 TLB/cache information: 2M/4M pages & L1 TLB (0x80000005/eax):
      instruction # entries     = 0x8 (8)
      instruction associativity = 0xff (255)
      data # entries            = 0x8 (8)
      data associativity        = 0xff (255)
   L1 TLB/cache information: 4K pages & L1 TLB (0x80000005/ebx):
      instruction # entries     = 0x20 (32)
      instruction associativity = 0xff (255)
      data # entries            = 0x20 (32)
      data associativity        = 0xff (255)
   L1 data cache information (0x80000005/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 0x2 (2)
      size (Kb)         = 0x40 (64)
   L1 instruction cache information (0x80000005/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 0x2 (2)
      size (Kb)         = 0x40 (64)
   L2 TLB/cache information: 2M/4M pages & L2 TLB (0x80000006/eax):
      instruction # entries     = 0x0 (0)
      instruction associativity = L2 off (0)
      data # entries            = 0x0 (0)
      data associativity        = L2 off (0)
   L2 TLB/cache information: 4K pages & L2 TLB (0x80000006/ebx):
      instruction # entries     = 0x200 (512)
      instruction associativity = 4-way (4)
      data # entries            = 0x200 (512)
      data associativity        = 4-way (4)
   L2 unified cache information (0x80000006/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 16-way (8)
      size (Kb)         = 0x80 (128)
   Advanced Power Management Features (0x80000007/edx):
      temperature sensing diode      = 0x1 (1)
      frequency ID (FID) control     = 0x1 (1)
      voltage ID (VID) control       = 0x1 (1)
      thermal trip (TTP)             = 0x1 (1)
      thermal monitor (TM)           = 0x1 (1)
      software thermal control (STC) = 0x1 (1)
      TscInvariant                   = 0x0 (0)
   Physical Address and Linear Address Size (0x80000008/eax):
      maximum physical address = 0x28 (40)
      maximum linear address   = 0x20 (32)
   Logical CPU cores (0x80000008/ecx):
      number of logical CPU cores - 1 = 0x0 (0)
      ApicIdCoreIdSize                = 0x0 (0)
   SVM Secure Virtual Machine (0x8000000a/eax):
      SvmRev: SVM revision = 0x0 (0)
   SVM Secure Virtual Machine (0x8000000a/edx):
      LBR virtualization = false
   NASID: number of address space identifiers = 0x0 (0):
   (multi-processing synth): none
   (synth) = AMD mobile Sempron (Palermo DH-E6), 754-pin, 90nm Processor 3000+
Mi sembra di aver capito niente 64bit... come previsto!

Avatar utente
robbybby
Linux 4.x
Linux 4.x
Messaggi: 1223
Iscritto il: sab 16 dic 2006, 10:48
Slackware: 13.1 / 64 bit
Kernel: 3.3.x
Desktop: KDE 4.4.5
Località: Fra Trantor e Terminus

Messaggio da robbybby »

Eh si': niente 64 bit.
Se guardi bene, vedi anche che il maximum linear address e' a 32 bit, mentre nel mio Semprom a 64 bit e' a 48 bit.

sir_alex
Linux 3.x
Linux 3.x
Messaggi: 735
Iscritto il: lun 21 mar 2005, 0:00
Kernel: 2.6.35-22
Desktop: KDE4
Distribuzione: Ubuntu
Località: Milano - Corbola (RO)
Contatta:

Messaggio da sir_alex »

Già che ci siamo, sapete come posso sapere di preciso il modello della mia scheda madre? Vorrei infatti fare un upgrade della RAM (principalmente perchè uso Eclipse in università e succhia veramente un casino, vado quasi subito in swap... di effettiva ne ho 384mb, visto che 128 vanno alla scheda video) e non so quale frequenza massima sia supportata... sul sito della asus non ho trovato il mio modello preciso, e su al momento ho 2 banchi da 256 @ 333 MHz se non ricordo male...

Rispondi