Linux2019. 4. 25. 10:15

iptables나 tc를 이용하여 특정 ip에 대해 대역폭 제한을 걸 수 있는 듯

(DDoS 등에 대한 대처도 가능할 듯)

 

 

 

[링크 : https://serverfault.com/questions/191560/how-can-i-do-traffic-shaping-in-linux-by-ip]

[링크 : https://making.pusher.com/per-ip-rate-limiting-with-iptables/]

 

+

[링크 : http://man7.org/linux/man-pages/man8/tc.8.html]

'Linux' 카테고리의 다른 글

plymouth  (0) 2019.06.14
linux 링크속도 줄이기  (0) 2019.04.25
systemctl restart 시그널  (0) 2019.04.23
ata1 comreset failed (errno=-16)  (0) 2019.04.19
crontab 실행 시간 조절하기  (0) 2019.04.18
Posted by 구차니

예전에 본.. VT-d 활성화 해주어야 하는건가..

대충 설정들을 보니.. 가상 머신에다가 물리 장치를 물리는걸 패스쓰루라고 하는데

guest가 Windows면은 그래픽 카드를 iommu를 통해 혹은 vt-d를 통해서

직접 가상 머신에 물려주는걸 의미하는 듯?

 

[링크 : https://heiko-sieger.info/running-windows-10-on-linux-using-kvm-with-vga-passthrough/]

[링크 : https://davidyat.es/2016/09/08/gpu-passthrough/]

[링크 : https://blog.zerosector.io/2018/07/28/kvm-qemu-windows-10-gpu-passthrough/]

 

vt-d는 인텔

iommu는 amd 계열 기술이름인듯

[링크 : http://jowon.blogspot.com/2010/01/linux-pci-passthrough.html]

 

+

vt-d/iommu는 카드를 공유하거나 일부만 잘라서 쓰지는 못하는 듯.

(즉, 하나의 게스트에 할당하면 다른 게스트는 해당 gpu를 쓰지 못한다거나?)

[링크 : https://www.whitehatvirtual.com/vgpu-101-passthrough-vs-vgpu-why-it-matters/]

 

Nvidia GRID 제품군으로는 위의 방법이 가능한것으로 보임

(위에 글들은 과거 내용이니 좀 달라진건가?)

[링크 : https://kr.nvidia.com/object/tesla-m60-kr.html]

[링크 : https://docs.nvidia.com/grid/latest/grid-vgpu-release-notes-generic-linux-kvm/index.html]

Posted by 구차니
개소리 왈왈/자전거2019. 4. 24. 10:05

일단 옷은 가장 큰 사이즈 115로! ㅋㅋ

 

 

'개소리 왈왈 > 자전거' 카테고리의 다른 글

자전거 대행진  (0) 2019.06.09
점심의 자전거.. -_ㅠ  (2) 2019.05.28
2019 서울 자전거 대행진!  (2) 2019.04.23
출근길 광고전단 - 바이크파크 + 자전거  (2) 2019.04.03
하루 늦은 지름 신고(?)  (0) 2019.03.17
Posted by 구차니

클로저 듣긴했는데 머더라?

 

 

[링크 : https://hyunseob.github.io/2016/08/30/javascript-closure/]

'Programming > javascript & HTML' 카테고리의 다른 글

cose network graph  (0) 2019.06.03
HTTP 302 redirect  (0) 2019.04.26
iife (Immediately Invoked Function Expression)  (0) 2019.04.23
javascript 배열 초기화(벤치마크)  (0) 2019.04.12
js 난독화  (0) 2019.03.14
Posted by 구차니

정부보전 해주던가 200원 올리던가 둘 중 하나뿐인가?

무임승차를 없애고 벌금 상승하면 되는거 아닌가?

 

[링크 : https://news.v.daum.net/v/20190423214835581]

Posted by 구차니

요게.. 람다랑 같은건지 다른건지 모르겠네?

 

[링크 : https://velog.io/@doondoony/javascript-iife]

[링크 : http://chanlee.github.io/2014/01/11/understand-javascript-iife/]

[링크 : http://jdub7138.blog.me/221027225353]

'Programming > javascript & HTML' 카테고리의 다른 글

HTTP 302 redirect  (0) 2019.04.26
closure  (0) 2019.04.24
javascript 배열 초기화(벤치마크)  (0) 2019.04.12
js 난독화  (0) 2019.03.14
HTML video 태그 loop 와 webalizer hit  (0) 2019.02.28
Posted by 구차니
Programming/node.js2019. 4. 23. 18:17

와.. 'undefined' 랑 비교 안해도 되는 저런 멋진 문법?

if('content-length' in ctx.proxyToServerRequestOptions.headers)

[링크 : https://github.com/.../examples/removeProxyToServerContentLength.js]

[링크 : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/in]

'Programming > node.js' 카테고리의 다른 글

pdf 내용 추출  (0) 2019.05.27
node.js express 301 redirect  (0) 2019.05.15
proxy error: Error: write after end  (0) 2019.04.23
node.js 시그널 핸들링과 reload  (0) 2019.04.23
nodejs url param delete  (0) 2019.04.17
Posted by 구차니
Programming/node.js2019. 4. 23. 18:07

흐음.. 왜 안써지냐..

기본 예제로는 response.end(data) 식이었고..

얘는 response.write(data, endcoding); response.end(callback); 두개 문장으로 실행되는 유사한 효과를 준다는데

그럼 되는거 아닌가? ㅠㅠ

 

response.end([data][, encoding][, callback])#

History

This method signals to the server that all of the response headers and body have been sent; that server should consider this message complete. The method, response.end(), MUST be called on each response.

If data is specified, it is similar in effect to calling response.write(data, encoding) followed by response.end(callback).

If callback is specified, it will be called when the response stream is finished.

[링크 : https://nodejs.org/api/http.html#http_class_http_serverresponse]

 

 

+

으으 망할.. async 문제인가?

[링크 : https://teamtreehouse.com/community/error-write-after-end-3]

'Programming > node.js' 카테고리의 다른 글

node.js express 301 redirect  (0) 2019.05.15
node.js 항목 확인  (0) 2019.04.23
node.js 시그널 핸들링과 reload  (0) 2019.04.23
nodejs url param delete  (0) 2019.04.17
url 끝의 /  (0) 2019.04.17
Posted by 구차니
개소리 왈왈/자전거2019. 4. 23. 17:45

케케케 내일 부터 신청이니 내일 C 로 해야지 ㅋㅋㅋ

 

[링크 : https://www.seoulbikefest.com:9443/index.asp]

'개소리 왈왈 > 자전거' 카테고리의 다른 글

점심의 자전거.. -_ㅠ  (2) 2019.05.28
2019 자전거 대행진 신청!  (2) 2019.04.24
출근길 광고전단 - 바이크파크 + 자전거  (2) 2019.04.03
하루 늦은 지름 신고(?)  (0) 2019.03.17
바 테잎 감음  (0) 2019.03.15
Posted by 구차니
embeded/odroid2019. 4. 23. 13:41

웬지 조만간.. Odroid C2 지르게 되지 않을까 싶네

Amlogic S905 계열은 일단은 HEVC를 지원하는 것으로 보인다.

 

[링크 : https://www.rs-online.com/designspark/5-low-cost-sbcs-that-support-4k-video]

'embeded > odroid' 카테고리의 다른 글

odroid XU4 데스크 탑 설정  (0) 2020.03.08
odroid xu4 AP 관련  (0) 2020.03.07
odroid U3 18.03 업데이트  (6) 2018.09.29
odroid U3 방열판/쿨러  (0) 2018.09.26
odroid U3 eMMC 복구  (0) 2018.09.26
Posted by 구차니