Search the Community
Showing results for tags 'cpu'.
Found 4 results
Hello Funtoo Community! I have subscribed to an 'large' Funtoo container, and i have some questions about CPU and Memory allocation for certain applications. I'm planning to run a couple of game Servers in the container and i would like to know if there is any way to force certain applications use only one exact group (node) of CPU cores? So i would like to allocate 8 cores per 1 application. (there will be 2-3 applications) The second question is about RAM and tmpfs. Can i make an tmpfs boot persistant? I would like to load some server data (ca. 1GB) completely in tmpfs for faster I/O. If no, can i use an script to load data on startup in tmpfs, and move data back if SIGTERM/SIGKILL catched, replicating changes every 'n' minutes? Sorry for my English. Thank you!
root@sysresccd /root % lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 42 Model name: Intel(R) Pentium(R) CPU G630 @ 2.70GHz Stepping: 7 CPU MHz: 1699.365 CPU max MHz: 2700.0000 CPU min MHz: 1600.0000 BogoMIPS: 5387.66 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 3072K NUMA node0 CPU(s): 0,1 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts root@sysresccd /root % gcc -march=native -Q --help=target | grep march -march= sandybridge This processor is clearly a sandybridge processor, but when it comes time to chroot into a fresh install on my system this subarch is not the right one. I could not find wether this is constitutes a bug or some sandybridge cpus are less capable than others or different in some fundamental way. My question is: is this something that I can fix myself? And, how would I go about it? (I think it's time I get involved with my system on a deeper level.) If nothing can be done, I will just continue using the generic 64 image.
Hello All, I have a question regarding the use flags with the intel64-haswell subarch. Since I don't plan to compile code on any other machine but the computer I'm installing on, why would the use flag -march=core-avx2 be superior to -march=native? Perhaps I'm incorrect, but wouldn't -march=native be best for me? If not, why? I'm really confused by core-avx2. I could be wrong, but I think using -march=native is equivalent to -march=haswell in this case. If so, is -march=haswell different from -march=core-avx2? I did notice that the CPU_FLAGS mentioned on the subarch page missed avx2, so I added that into the CPU_FLAGS within make.conf. Any help would be greatly appreciated. Thanks, Rick