집에 있는게 2500이다 보니 이게 항상 기준이 되는데

회사에서 있는 녀석이 7600 성능비교를 보니.. 단일 코어 기준 140% 정도..

 

i5-9500은 150%에 멀티코어 사용시(6코어임) 200% 정도 성능

의외로 성능향상이 너무 더딘게 아닌가 싶을 정도..

 

[링크 :http://hwbench.com/cpus/intel-core-i5-7600-vs-intel-core-i5-2500]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

ACPI & smbus  (0) 2019.05.07
2760p 에 ubuntu 설치  (0) 2019.05.03
intel HD3000 win10에서 openGL 미지원?  (0) 2019.04.30
L3 캐시 용량에 따른 성능 변화?  (0) 2019.04.30
NEXT-812FCU3  (1) 2019.04.26
Posted by 구차니

서버 벤더에서 자사용으로 만들어서 쓰니 특정 규격이라고 할 순 없을 듯 하지만

Flex ATX 라는 규격이 그나마 비슷해 보이긴 하는 듯.

[링크 : http://www.plinkusa.net/new-buyPS.htm]

 

동일 모델은 아니지만, 서버 전원을 뽑아보니.. 별다른건 없고 PCI-Ex 슬롯 같은걸로 몇개 핀이 없길래 의아해 했는데

12V 단일 전압을 공급함으로서 전류를 높게 가지지 않아도 되니

PCI-Ex 슬롯으로 여러개 선으로 전류를 병렬로 전송하는 것으로 보인다.

The R320 power supply subsystem consists of one non-redundant or up to two hot-plug AC-DC
power supplies. The power supply provides +3.3V/5V/12V and +12Vaux for non-redundant design
and provides 12V and 12Vaux for redundant design. There are several voltage regulators in the
system to supply different voltage levels needed by different logic devices. The redundant power
supplies are managed through a PMBus interface.

[링크 : https://cdn.cnetcontent.com/2b/d0/2bd0225a-38b9-4b41-9a43-85ea38a463a5.pdf]

 

 

75W 를 PCI-Express를 통해 공급이 가능하다는데

[링크 : https://www.geeks3d.com/20101108/tips-maximum-power-consumption-of-graphics-card-connectors/]

 

12V * 5 + 3.3 * 4를 적절하게(?) 분배해주면 대충 선 하나당 1A 정도씩 보내고 있다고 보면 되려나?

[링크 : https://en.wikipedia.org/wiki/PCI_Express]

 

 

750W 파워인데 12V로 보낸다면 12V * 62.5A 니까... 너무 높은데?

끽해봤자 20개 핀 + 넓은 면적인데, 데이터 주고 받는것도 있을테니 전부 쓰진 않을테고..

어떻게 보내는걸까?

'하드웨어 > Server Case & board' 카테고리의 다른 글

dell r510 dvd to hdd  (0) 2019.06.06
option rom  (0) 2019.06.03
idrac 재시작 하기  (0) 2019.03.12
R730 pci-express riser & back plane  (2) 2019.02.28
iDRAC 에러 메시지 제거  (0) 2019.02.26
Posted by 구차니

아니.. 너무 쉽자나.. (실행되는건 별개로)

 

$ pip install PyOpenGL PyOpenGL_accelerate
Collecting PyOpenGL
  Downloading https://files.pythonhosted.org/packages/9c/1d/4544708aaa89f26c97cc09450bb333a23724a320923e74d73e028b3560f9/PyOpenGL-3.1.0.tar.gz (1.2MB)
    100% |████████████████████████████████| 1.2MB 1.3MB/s
Collecting PyOpenGL_accelerate
  Downloading https://files.pythonhosted.org/packages/d9/74/293aa8794f2f236186d19e61c5548160bfe159c996ba01ed9144c89ee8ee/PyOpenGL-accelerate-3.1.0.tar.gz (323kB)
    100% |████████████████████████████████| 327kB 5.0MB/s
Building wheels for collected packages: PyOpenGL, PyOpenGL-accelerate
  Running setup.py bdist_wheel for PyOpenGL ... done
  Stored in directory: /home/minimonk/.cache/pip/wheels/6c/00/7f/1dd736f380848720ad79a1a1de5272e0d3f79c15a42968fb58
  Running setup.py bdist_wheel for PyOpenGL-accelerate ... done
  Stored in directory: /home/minimonk/.cache/pip/wheels/4e/8e/aa/ae3f1309ede1048b7f6a11c92d3d7d50fd6a7ab4507e6c7aca
Successfully built PyOpenGL PyOpenGL-accelerate
Installing collected packages: PyOpenGL, PyOpenGL-accelerate
Successfully installed PyOpenGL-3.1.0 PyOpenGL-accelerate-3.1.0

 

$ pip install pyopengl numpy glfw
Collecting pyopengl
Collecting numpy
  Downloading https://files.pythonhosted.org/packages/e1/72/179a78b565ecf01fe98dab6417581d30acac15c2d93c49f93169ebea99b1/numpy-1.16.3-cp27-cp27mu-manylinux1_x86_64.whl (17.0MB)
    100% |████████████████████████████████| 17.0MB 79kB/s
Collecting glfw
  Downloading https://files.pythonhosted.org/packages/5d/65/c6275744a01425195f1f446e022e5dfa6497aa68479a3952e434e04b2fa0/glfw-1.7.1.tar.gz
Building wheels for collected packages: glfw
  Running setup.py bdist_wheel for glfw ... done
  Stored in directory: /home/minimonk/.cache/pip/wheels/c5/53/f9/fd31798dce7e10aa49f8354e4111b9c9cad10c894184658663
Successfully built glfw
Installing collected packages: pyopengl, numpy, glfw
Successfully installed glfw-1.7.1 numpy-1.16.3 pyopengl-3.1.0

 

위에서 깔고깔고 하는데 라이브러리 없대서 또 깔고

ImportError: Failed to load GLFW3 shared library.

$ sudo apt-get install libglfw3
$ sudo apt-get install libglfw3-dev

[링크 : https://stackoverflow.com/.../importerror-failed-to-load-glfw3-shared-library-without-root-access-on-linux]

 

근데 실행안되네 -_ㅠ

얘는 아마도.. 원격지에서 X11 forwarding 하려고 해서 그런거 같고

$ python pygl_test.py
Traceback (most recent call last):
  File "pygl_test.py", line 92, in 
    main()
  File "pygl_test.py", line 10, in main
    if not glfw.init():
  File "/home/minimonk/.local/lib/python2.7/site-packages/glfw/__init__.py", line 607, in init
    res = _glfw.glfwInit()
  File "/home/minimonk/.local/lib/python2.7/site-packages/glfw/__init__.py", line 516, in errcheck
    _reraise(exc[1], exc[2])
  File "/home/minimonk/.local/lib/python2.7/site-packages/glfw/__init__.py", line 50, in _reraise
    exec("raise exception, None, traceback")
  File "/home/minimonk/.local/lib/python2.7/site-packages/glfw/__init__.py", line 495, in callback_wrapper
    return func(*args, **kwargs)
  File "/home/minimonk/.local/lib/python2.7/site-packages/glfw/__init__.py", line 669, in _raise_glfw_errors_as_exceptions
    raise GLFWError(message)
glfw.GLFWError: (65544) X11: RandR gamma ramp support seems broken

 

흐음.. python2.7 이라서 3.7을 깔고 했는데 pip 설치 경로에 따라 다른건가? 3.7에서는 해당 모듈을 불러오질 못한다.

$ python3.7 pygl_test.py
Traceback (most recent call last):
  File "pygl_test.py", line 1, in 
    import glfw
ModuleNotFoundError: No module named 'glfw'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in 
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in 
    import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in 
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in 
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in 
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'

Original exception was:
Traceback (most recent call last):
  File "pygl_test.py", line 1, in 
    import glfw
ModuleNotFoundError: No module named 'glfw'

[링크 : https://github.com/totex/PyOpenGL_tutorials/blob/master/video_06_quad.py]

 

+

2019.05.04

ubuntu 깔고 native로 했는데 안된다.. ㅠㅠ GLSL3.30을 지원하지 않아서 라니 ㅠㅠ

$ python pygl.py 
No handlers could be found for logger "OpenGL.arrays.numpymodule"
Traceback (most recent call last):
  File "pygl.py", line 92, in 
    main()
  File "pygl.py", line 56, in main
    shader = OpenGL.GL.shaders.compileProgram(OpenGL.GL.shaders.compileShader(vertex_shader, GL_VERTEX_SHADER),
  File "/home/minimonk/.local/lib/python2.7/site-packages/OpenGL/GL/shaders.py", line 226, in compileShader
    shaderType,
RuntimeError: ('Shader compile failure (0): 0:2(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\n', ['\n    #version 330\n    in vec3 position;\n    in vec3 color;\n\n    out vec3 newColor;\n    void main()\n    {\n        gl_Position = vec4(position, 1.0f);\n        newColor = color;\n    }\n    '], GL_VERTEX_SHADER)

 

+

걍 속시원하게 2.7 밀고 새로 깔고 클린하게~

sudo apt-get remove python
sudo apt-get remove python3.7
sudo apt-get autoremove
sudo apt-get install python3.7
sudo apt-get install python3-pip

[링크 : https://linuxize.com/post/how-to-install-python-3-7-on-ubuntu-18-04/]

[링크 : https://linuxize.com/post/how-to-install-pip-on-ubuntu-18.04/]

 

안되잖아! ㅠㅠ

$ python3 pygl_test.py
Traceback (most recent call last):
  File "pygl_test.py", line 92, in 
    main()
  File "pygl_test.py", line 10, in main
    if not glfw.init():
  File "/home/minimonk/.local/lib/python3.6/site-packages/glfw/__init__.py", line 607, in init
    res = _glfw.glfwInit()
  File "/home/minimonk/.local/lib/python3.6/site-packages/glfw/__init__.py", line 516, in errcheck
    _reraise(exc[1], exc[2])
  File "/home/minimonk/.local/lib/python3.6/site-packages/glfw/__init__.py", line 45, in _reraise
    raise exception.with_traceback(traceback)
  File "/home/minimonk/.local/lib/python3.6/site-packages/glfw/__init__.py", line 495, in callback_wrapper
    return func(*args, **kwargs)
  File "/home/minimonk/.local/lib/python3.6/site-packages/glfw/__init__.py", line 669, in _raise_glfw_errors_as_exceptions
    raise GLFWError(message)
glfw.GLFWError: (65544) b'X11: RandR gamma ramp support seems broken'

 

옛날 글이고 18.04 / python3에는 아래 패키지를 깔아주면 되는 듯.

$ sudo apt-get install python3-opengl
Install the distribution package as: sudo apt-get install python-opengl - this works for me.

[링크 : https://stackoverflow.com/questions/26700719/pyopengl-glutinit-nullfunctionerror]

 

일단은 해결~ 인가?

위에 쉐이더 쓰는건 원격으로 할 경우에는 방법이 없는 듯.. ㅠㅠ

[링크 : http://code.activestate.com/recipes/325391-open-a-glut-window-and-draw-a-sphere-using-pythono/]

'Programming > python(파이썬)' 카테고리의 다른 글

python pylint @ vscode  (0) 2019.05.09
python wxpython  (0) 2019.05.08
python 3.7 + MS build tool 2015 + pyGL 또 실패 ㅠㅠ  (0) 2019.05.01
python + openGL  (0) 2019.04.30
python + openCV 공부 시작  (0) 2019.04.30
Posted by 구차니

+

전체 사용자 설치로 하면 사용자 권한 문제로 pip로 설치시 안되는 수가 있어서 --user 옵션을 주어야 함

Could not install packages due to an EnvironmentError: [WinError 5] 액세스가 거부되었습니다: 'c:\\program files (x86)\\python37-32\\lib\\site-packages\\pip-19.0.3.dist-info\\entry_points.txt'
Consider using the `--user` option or check the permissions.

 

---

python 3.7.3에

mingw 실패

ms vs community에 14.0 빌드툴 추가해도 실패

 

python 3.4.3 에

mingw 실패

 

그래서 고민하다가 원래대로 해보겠다고 고생중

 

Microsoft Visual C++ 14.0 standalone: Visual C++ Build Tools 2015 (x86, x64, ARM)

This is a standalone version of Visual C++ 14.0 compiler, you don't need to install Visual Studio 2015.

  • Install Microsoft Visual C++ Build Tools 2015. Check Windows 8.1 SDK and Windows 10 SDK options.

  • The setuptools Python package version must be at least 24.0.

 Visual C++ Build Tools 2015 was upgraded by Microsoft to Build Tools for Visual Studio 2017. See the previous paragraph to install it.

[링크 : https://wiki.python.org/moin/WindowsCompilers]

 

 

microsoft visual C++ Build Tools 2015를 까는데 별다른 체크옵션 없던데..

[링크 : https://www.microsoft.com/ko-kr/download/details.aspx?id=48159]

 

아래 경로를 PATH에 추가

C:\Program Files (x86)\MSBuild\14.0\Bin

[링크 : http://www.sysnet.pe.kr/2/0/11275]

 

MSBuild tool 로도 안되네..

    ERROR: Complete output from command 'c:\program files (x86)\python37-32\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\shin\\AppData\\Local\\Temp\\pip-install-i1zl3xr6\\PyOpenGL-accelerate\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\shin\AppData\Local\Temp\pip-record-kda1gypo\install-record.txt' --single-version-externally-managed --compile --user --prefix=:
    ERROR: Unable to import numpy, skipping numpy extension building
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.7
    creating build\lib.win32-3.7\OpenGL_accelerate
    copying .\setup.py -> build\lib.win32-3.7\OpenGL_accelerate
    copying .\__init__.py -> build\lib.win32-3.7\OpenGL_accelerate
    running build_ext
    building 'OpenGL_accelerate.wrapper' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command "'c:\program files (x86)\python37-32\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\shin\\AppData\\Local\\Temp\\pip-install-i1zl3xr6\\PyOpenGL-accelerate\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\shin\AppData\Local\Temp\pip-record-kda1gypo\install-record.txt' --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in C:\Users\shin\AppData\Local\Temp\pip-install-i1zl3xr6\PyOpenGL-accelerate\

 

visual studio community 받기

[링크 : https://visualstudio.microsoft.com/ko/downloads]

 

windows 8.1 / 10 SDK

[링크 : https://developer.microsoft.com/ko-kr/windows/downloads/sdk-archive]

 

 

+

2019.05.02

도대체 저걸 어떻게 해야하려나...

wrapper.c를 찾아봐야겠네

 C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.exe
 /c /nologo /Ox /W3 /GL /DNDEBUG /MD 
-IC:\Users\shin\AppData\Local\Temp\pip-install-1qm70fwh\PyOpenGL-accelerate\.. 
-IC:\Users\shin\AppData\Local\Temp\pip-install-1qm70fwh\PyOpenGL-accelerate\src 
-IC:\Users\shin\AppData\Local\Temp\pip-install-1qm70fwh\PyOpenGL-accelerate 
"-Ic:\program files (x86)\python37-32\include" 
"-Ic:\program files (x86)\python37-32\include" 
"-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" 
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" 
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" 
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" 
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" 
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" 
/Tcsrc\wrapper.c 
/Fobuild\temp.win32-3.7\Release\src\wrapper.obj

'Programming > python(파이썬)' 카테고리의 다른 글

python wxpython  (0) 2019.05.08
PyOpenGL + ubuntu 18.04  (0) 2019.05.02
python + openGL  (0) 2019.04.30
python + openCV 공부 시작  (0) 2019.04.30
pypy  (0) 2018.04.04
Posted by 구차니
개소리 왈왈/컴퓨터2019. 4. 30. 22:29

헐.. -_-???!

그래도 게임은 되는것 봐서는 openGL만 끊은거 같은데

자사의 DirectX를 위한걸까.. 아니면 다른 회사(?)의 기술지원을 하기 싫어서 완전 중단한걸까?

 

일단은 win7용이나 8.1용 드라이버를 깔아봐야 할 듯

 

+

2019.05.01

안되는건 아닌데 3.1 까지만 지원하다 보니 python 에서 안되는 건가?

왜 다른 포럼이나 MS Answer 사이트에서 지원이 안된다고 그럴까?

 

[링크 : https://support.esri.com/en/technical-article/000011375]

[링크 : http://realtech-vr.com/admin/glview]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

2760p 에 ubuntu 설치  (0) 2019.05.03
i5-2500 vs i5-7600  (0) 2019.05.02
L3 캐시 용량에 따른 성능 변화?  (0) 2019.04.30
NEXT-812FCU3  (1) 2019.04.26
z170 extreme4 1.0 부팅 오래 걸리는 문제  (0) 2019.04.26
Posted by 구차니

해보려는데 영 안되네.. 설치 안한게 있어서 그런가?

 

C:\Users>pip install pyopengl numpy glfw
Collecting pyopengl
  Downloading https://files.pythonhosted.org/packages/9c/1d/4544708aaa89f26c97cc09450bb333a23724a320923e74d73e028b3560f9/PyOpenGL-3.1.0.tar.gz (1.2MB)
     |████████████████████████████████| 1.2MB 731kB/s
Requirement already satisfied: numpy in c:\users\shin\appdata\local\programs\python\python37-32\lib\site-packages (1.16.3)
Collecting glfw
  Downloading https://files.pythonhosted.org/packages/af/3b/2f8c60fcb0a486eae4dd18c29de22ed667aed5e81f16874102f8580b5900/glfw-1.7.1-py2.py3-none-win32.whl (55kB)
     |████████████████████████████████| 61kB 27kB/s
Installing collected packages: pyopengl, glfw
  Running setup.py install for pyopengl ... done
Successfully installed glfw-1.7.1 pyopengl-3.1.0

 

C:\study\python>python gl.py
Traceback (most recent call last):
  File "gl.py", line 92, in 
    main()
  File "gl.py", line 13, in main
    window = glfw.create_window(800, 600, "My OpenGL window", None, None)
  File "C:\Users\shin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\glfw\__init__.py", line 893, in create_window
    monitor, share)
  File "C:\Users\shin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\glfw\__init__.py", line 516, in errcheck
    _reraise(exc[1], exc[2])
  File "C:\Users\shin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\glfw\__init__.py", line 45, in _reraise
    raise exception.with_traceback(traceback)
  File "C:\Users\shin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\glfw\__init__.py", line 495, in callback_wrapper
    return func(*args, **kwargs)
  File "C:\Users\shin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\glfw\__init__.py", line 669, in _raise_glfw_errors_as_exceptions
    raise GLFWError(message)
glfw.GLFWError: (65542) b'WGL: The driver does not appear to support OpenGL'

[링크 : https://webnautes.tistory.com/1271]

[링크 : https://answers.microsoft.com/.../no-opengl-acceleration-with-hd-3000-on-windows-10/...]

[링크 : https://www.intel.com/content/www/us/en/support/articles/000005526/graphics-drivers.html?language=en_US]

 

+

2019.05.01

 

홈페이지 가보니 PyOpenGL_accelerate 패키지를 안깔아서 그런가?

Downloading and Installation
The easiest way to install PyOpenGL is using pip

$ pip install PyOpenGL PyOpenGL_accelerate

[링크 : http://pyopengl.sourceforge.net/]

'Programming > python(파이썬)' 카테고리의 다른 글

PyOpenGL + ubuntu 18.04  (0) 2019.05.02
python 3.7 + MS build tool 2015 + pyGL 또 실패 ㅠㅠ  (0) 2019.05.01
python + openCV 공부 시작  (0) 2019.04.30
pypy  (0) 2018.04.04
파이썬 print가 희한하네..  (0) 2017.04.02
Posted by 구차니

지하철에서 잉여하지 말고 이거나 해야지

노트북에 웹캠도 있으니 딱이네

 

[링크 : https://diy-project.tistory.com/78]

[링크 : https://pypi.org/project/opencv-contrib-python/]

 

vscode와 연동하기

[링크 : https://realpython.com/python-development-visual-studio-code/]

 

+

C:\Users>pip install OpenCV-Python
Collecting OpenCV-Python
  Downloading https://files.pythonhosted.org/packages/99/ad/864b2f284517249a96190fdf6b21a291d9716115d6886938ccd86afaf821/opencv_python-4.1.0.25-cp37-cp37m-win32.whl (25.7MB)
    100% |████████████████████████████████| 25.7MB 439kB/s
Collecting numpy>=1.14.5 (from OpenCV-Python)
  Downloading https://files.pythonhosted.org/packages/ab/75/9ac63977cbca68e17406a53a8c573a925a16771800be47a73f18c838f3fb/numpy-1.16.3-cp37-cp37m-win32.whl (10.0MB)
    100% |████████████████████████████████| 10.0MB 371kB/s
Installing collected packages: numpy, OpenCV-Python
Successfully installed OpenCV-Python-4.1.0.25 numpy-1.16.3
You are using pip version 19.0.3, however version 19.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

'Programming > python(파이썬)' 카테고리의 다른 글

python 3.7 + MS build tool 2015 + pyGL 또 실패 ㅠㅠ  (0) 2019.05.01
python + openGL  (0) 2019.04.30
pypy  (0) 2018.04.04
파이썬 print가 희한하네..  (0) 2017.04.02
파이썬 리스트(list)와 튜플(tuple)  (0) 2017.04.02
Posted by 구차니

예전에 찾아 놓은 Web GUI 로 된 kvm 관리자를 해보는데

[링크 : https://github.com/retspen/webvirtmgr/wiki/Install-WebVirtMgr]

 

 

libvirtd를 구동하면 에러가 나는데 기본이 TLS 인증이라 그런듯.

아무튼 libvirtd에 설정을 바꾸어주면 되긴하는데.. 인증이 안되네..

$ sudo vim /etc/libvirt/libvirtd.conf

#
# For further information consult https://libvirt.org/format.html
#
# NOTE: the tests/daemon-conf regression test script requires
# that each "PARAMETER = VALUE" line in this file have the parameter
# name just after a leading "#".

#################################################################
#
# Network connectivity controls
#

# Flag listening for secure TLS connections on the public TCP/IP port.
# NB, must pass the --listen flag to the libvirtd process for this to
# have any effect.
#
# It is necessary to setup a CA and issue server certificates before
# using this capability.
#
# This is enabled by default, uncomment this to disable it
listen_tls = 0

# Listen for unencrypted TCP connections on the public TCP/IP port.
# NB, must pass the --listen flag to the libvirtd process for this to
# have any effect.
#
# Using the TCP socket requires SASL authentication by default. Only
# SASL mechanisms which support data encryption are allowed. This is
# DIGEST_MD5 and GSSAPI (Kerberos5)
#
# This is disabled by default, uncomment this to enable it.
listen_tcp = 1



# Override the port for accepting secure TLS connections
# This can be a port number, or service name
#
#tls_port = "16514"

# Override the port for accepting insecure TCP connections
# This can be a port number, or service name
#
tcp_port = "16509"

[링크 : https://libvirt.org/remote.html]

 

위에처럼 하면 접속은 되는데 인증이 안된다.

일단은 과감하게(?) 보안무시하고 실행을 위주로 ㄱㄱ!

$ sudo vim /etc/libvirt/libvirtd.conf

# Change the authentication scheme for TCP sockets.
#
# If you don't enable SASL, then all TCP traffic is cleartext.
# Don't do this outside of a dev/test scenario. For real world
# use, always enable SASL and use the GSSAPI or DIGEST-MD5
# mechanism in /etc/sasl2/libvirt.conf
#auth_tcp = "sasl"
auth_tcp = "none"

[링크 : https://libvirt.org/auth.html]

[링크 : https://computingforgeeks.com/use-virt-manager-as-non-root-user/]

 

일단은 이미지 업로드가 안되서(해당 UI가 깨진건지..) 일단은 사용은 실패

'프로그램 사용 > kvm(virt-manager)' 카테고리의 다른 글

vmdk를 qcow2로 변경하기  (2) 2019.07.09
kvm virsh console 사용하기  (0) 2019.05.16
리눅스 콘솔창 해상도 변경하기  (0) 2019.04.26
VDI GPU passthrough  (0) 2019.04.24
kvm live add cpu  (0) 2019.04.16
Posted by 구차니
Linux/Ubuntu2019. 4. 30. 13:44

귀찮으니 끝판왕을 깔자 ㅋㅋ

 

$ sudo apt install virt-manager
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음의 추가 패키지가 설치될 것입니다 :
  augeas-lenses bridge-utils cpu-checker ebtables gir1.2-appindicator3-0.1 gir1.2-gtk-vnc-2.0 gir1.2-libosinfo-1.0
  gir1.2-libvirt-glib-1.0 gir1.2-spiceclientglib-2.0 gir1.2-spiceclientgtk-3.0 ibverbs-providers ipxe-qemu
  ipxe-qemu-256k-compat-efi-roms libaio1 libaugeas0 libcacard0 libfdt1 libgovirt-common libgovirt2 libgtk-vnc-2.0-0
  libgvnc-1.0-0 libibverbs1 libiscsi7 libnetcf1 libnl-route-3-200 libosinfo-1.0-0 libphodav-2.0-0 libphodav-2.0-common
  librados2 librbd1 librdmacm1 libsdl1.2debian libspice-client-glib-2.0-8 libspice-client-gtk-3.0-5 libspice-server1
  libusbredirhost1 libusbredirparser1 libvirt-clients libvirt-daemon libvirt-daemon-driver-storage-rbd
  libvirt-daemon-system libvirt-glib-1.0-0 libvirt0 libxen-4.9 libxenstore3.0 libxml2-utils msr-tools osinfo-db
  python-asn1crypto python-cairo python-certifi python-cffi-backend python-chardet python-cryptography python-dbus
  python-enum34 python-gi python-gi-cairo python-idna python-ipaddr python-ipaddress python-libvirt python-libxml2
  python-openssl python-pkg-resources python-requests python-six python-urllib3 qemu-block-extra qemu-kvm
  qemu-system-common qemu-system-x86 qemu-utils seabios sharutils spice-client-glib-usb-acl-helper virt-viewer virtinst
제안하는 패키지:
  augeas-doc augeas-tools libosinfo-l10n gstreamer1.0-plugins-bad libvirt-daemon-driver-storage-gluster
  libvirt-daemon-driver-storage-sheepdog libvirt-daemon-driver-storage-zfs numad radvd auditd systemtap nfs-common zfsutils
  pm-utils python-cryptography-doc python-cryptography-vectors python-dbus-dbg python-dbus-doc python-enum34-doc
  python-openssl-doc python-openssl-dbg python-setuptools python-socks python-ntlm samba vde2 sgabios ovmf debootstrap
  sharutils-doc bsd-mailx | mailx ssh-askpass python-guestfs
다음 새 패키지를 설치할 것입니다:
  augeas-lenses bridge-utils cpu-checker ebtables gir1.2-appindicator3-0.1 gir1.2-gtk-vnc-2.0 gir1.2-libosinfo-1.0
  gir1.2-libvirt-glib-1.0 gir1.2-spiceclientglib-2.0 gir1.2-spiceclientgtk-3.0 ibverbs-providers ipxe-qemu
  ipxe-qemu-256k-compat-efi-roms libaio1 libaugeas0 libcacard0 libfdt1 libgovirt-common libgovirt2 libgtk-vnc-2.0-0
  libgvnc-1.0-0 libibverbs1 libiscsi7 libnetcf1 libnl-route-3-200 libosinfo-1.0-0 libphodav-2.0-0 libphodav-2.0-common
  librados2 librbd1 librdmacm1 libsdl1.2debian libspice-client-glib-2.0-8 libspice-client-gtk-3.0-5 libspice-server1
  libusbredirhost1 libusbredirparser1 libvirt-clients libvirt-daemon libvirt-daemon-driver-storage-rbd
  libvirt-daemon-system libvirt-glib-1.0-0 libvirt0 libxen-4.9 libxenstore3.0 libxml2-utils msr-tools osinfo-db
  python-asn1crypto python-cairo python-certifi python-cffi-backend python-chardet python-cryptography python-dbus
  python-enum34 python-gi python-gi-cairo python-idna python-ipaddr python-ipaddress python-libvirt python-libxml2
  python-openssl python-pkg-resources python-requests python-six python-urllib3 qemu-block-extra qemu-kvm
  qemu-system-common qemu-system-x86 qemu-utils seabios sharutils spice-client-glib-usb-acl-helper virt-manager virt-viewer
  virtinst
0개 업그레이드, 79개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
22.3 M바이트 아카이브를 받아야 합니다.
이 작업 후 102 M바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n]

'Linux > Ubuntu' 카테고리의 다른 글

우분투 창 전환(그룹) 해제하기  (0) 2019.05.04
우분투 터치패드 휠 클릭 흉내내기  (0) 2019.05.04
ubuntu test page 위치  (0) 2018.12.19
epson 프린터 유틸리티 관련  (0) 2018.12.18
lpstat  (0) 2018.12.18
Posted by 구차니
개소리 왈왈/컴퓨터2019. 4. 30. 13:05

i7-6700 / i5-7600 두대를 자리에 셋팅하고 쓰고 있는데

문득 성능차이가 얼마나 나나 궁금해서 보는데 

i7은 L3 캐시 8MB i5는 6MB로 2MB 차이가 존재한다.

그 외에는 i7-6700이 구 세대인 관계로 100MHz 클럭이 낮다는 정도?

[링크 : http://www.cpu-world.com/Compare/427/Intel_Core_i5_i5-7600_vs_Intel_Core_i7_i7-6700.html]

 

아무튼 벤치마크 해둔걸 보면(4세대로 좀 다르지만)

L3에 영향을 받는 애들은 성능 차이가 꽤 나지만 그렇지 않은 경우는 유의미한 차이는 나지 않는다 정도로 보인다.

어쩌면 캐시용량을 넘어가도록 코드가 커서(즉, 최적화 덜 되서) L3까지 캐시를 쓰는 걸지도 모르겠지만

(즉, L2 인 1MB 이내에서 캐시가 히트 되는게 최적화 잘 되었다고 본다면)

비용 대비로는 그렇게 큰 효과가 있다고 보긴 힘들 것으로 보인다.

[링크 : https://udteam.tistory.com/695]

 

 

아 몰라~ 일단 작업관리자에 CPU 8개 뜨니 행복함 ㅋㅋ

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

i5-2500 vs i5-7600  (0) 2019.05.02
intel HD3000 win10에서 openGL 미지원?  (0) 2019.04.30
NEXT-812FCU3  (1) 2019.04.26
z170 extreme4 1.0 부팅 오래 걸리는 문제  (0) 2019.04.26
파일 정리.. 메인보드 드라이버  (0) 2019.04.07
Posted by 구차니