NVIDIA GeForce RTX 30XX

NVIDIA GeForce RTX 30XX

Graphics Card Name NVIDIA GeForce RTX 3090 Ti NVIDIA GeForce RTX 3090 NVIDIA GeForce RTX 3080 Ti NVIDIA GeForce RTX 3080 12 GB NVIDIA GeForce RTX 3080 NVIDIA GeForce RTX 3070 Ti 16 GB NVIDIA GeForce RTX 3070 Ti NVIDIA GeForce RTX 3070 NVIDIA GeForce RTX 3060 Ti NVIDIA GeForce RTX 3060 NVIDIA GeForce RTX 3050
GPU Name Ampere GA102-350? Ampere GA102-300 Ampere GA102-225 Ampere GA102-220? Ampere GA102-200 Ampere GA104-400 Ampere GA104-400 Ampere GA104-300 Ampere GA104-200 Ampere GA106-300 Ampere GA106-150
Process Node Samsung 8nm Samsung 8nm Samsung 8nm Samsung 8nm Samsung 8nm Samsung 8nm Samsung 8nm Samsung 8nm Samsung 8nm Samsung 8nm Samsung 8nm
Die Size 628.4mm2 628.4mm2 628.4mm2 628.4mm2 628.4mm2 395.2mm2 395.2mm2 395.2mm2 395.2mm2 276mm2 276mm2
Transistors 28 Billion 28 Billion 28 Billion 28 Billion 28 Billion 17.4 Billion 17.4 Billion 17.4 Billion 17.4 Billion 13.2 Billion 13.2 Billion
CUDA Cores 10752 10496 10240 8960 8704 6144 6144 5888 4864 3584 2560
TMUs / ROPs 336 / 112 328 / 112 320 / 112 280 / 104 272 / 96 184 / 96 184 / 96 184 / 96 152 / 80 112 / 64 TBC
Tensor / RT Cores 336 / 84 328 / 82 320 / 80 280 / 70 272 / 68 184 / 46 184 / 46 184 / 46 152 / 38 112 / 28 TBC
Base Clock 1560 MHz 1400 MHz 1365 MHz TBA 1440 MHz TBA 1575 MHz 1500 MHz 1410 MHz 1320 MHz 1550 MHz
Boost Clock 1860 MHz 1700 MHz 1665 MHz TBA 1710 MHz TBA 1770 MHz 1730 MHz 1665 MHz 1780 MHz 1780 MHz
FP32 Compute 40 TFLOPs 36 TFLOPs 34 TFLOPs TBA 30 TFLOPs TBA 22 TFLOPs 20 TFLOPs 16 TFLOPs 13 TFLOPs 9.1 TFLOPs
RT TFLOPs 74 RFLOPs 69 TFLOPs 67 TFLOPs TBA 58 TFLOPs TBA 44 TFLOPs 40 TFLOPs 32 TFLOPs 25 TFLOPs 18.2 TFLOPs
Tensor-TOPs TBA 285 TOPs 273 TOPs TBA 238 TOPs TBA 183 TOPs 163 TOPs 192 TOPs 101 TOPs 72.8 TOPs
Memory Capacity 24 GB GDDR6X 24 GB GDDR6X 12 GB GDDR6X 12 GB GDDR6X 10 GB GDDR6X 16 GB GDDR6X 8 GB GDDR6X 8 GB GDDR6 8 GB GDDR6 12 GB GDDR6 8 GB GDDR6
Memory Bus 384-bit 384-bit 384-bit 384-bit 320-bit 256-bit 256-bit 256-bit 256-bit 192-bit 192-bit
Memory Speed 21 Gbps 19.5 Gbps 19 Gbps 19 Gbps 19 Gbps 21 Gbps 19 Gbps 14 Gbps 14 Gbps 16 Gbps 14 Gbps
Bandwidth 1008 GB/s 936 GB/s 912 Gbps 912 Gbps 760 GB/s 672 GB/s 608 GB/s 448 GB/s 448 GB/s 384 GB/s 224 GB/s
TGP 450W 350W 350W 350W 320W ~300W 290W 220W 175W 170W 130W
Price (MSRP / FE) TBD $1499 US $1199 $999 US? $699 US $599 US? $599 US $499 US $399 US $329 US $249 US
Launch (Availability) TBD 24th September 2020 3rd June 2021 11th January 2022 17th September 2020 Q1 2022? 10th June, 2021 29th October 2020 2nd December 2020 25th February 2021 27th January 2022

WSL インポート・エクスポート (ディスク移動)

ディストリビューション一覧

ディストリビューションの一覧を表示します。

1
wsl --list

エクスポート

ディストリビューションを tar ファイルにエクスポートします。

1
2
3
4
wsl.exe --shutdown
wsl --export <distribution> <FileName>

#<FileName> "x:\xxx\xxx.tar" エクスポート先

登録解除

ディストリビューションの登録を解除し、ルートファイルシステムを削除します。

1
wsl --unregister <distribution> 

インポート

指定した tar ファイルを新しいディストリビューションとしてインポートします。

1
2
3
4
wsl --import <distribution> <InstallLocation> <FileName>

#<InstallLocation> "x:\xxx\" インストール先
#<FileName> "x:\xxx\xxx.tar" エクスポートファイルパス

AWS - 全リージョンのデフォルトVPC削除

デフォルトVPCを削除しても問題ありません。(再作成可)

AWS CLI SHELL

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env bash


if [ "$AWS_PROFILE" = "" ]; then
echo "No AWS_PROFILE set"
exit 1
fi


for region in $(aws ec2 describe-regions --region ap-northeast-1 | jq -r .Regions[].RegionName); do

echo "* Region ${region}"

# get default vpc
vpc=$(aws ec2 --region ${region} \
describe-vpcs --filter Name=isDefault,Values=true \
| jq -r .Vpcs[0].VpcId)
if [ "${vpc}" = "null" ]; then
echo "No default vpc found"
continue
fi
echo "Found default vpc ${vpc}"

# delete internet gateway
igw=$(aws ec2 --region ${region} \
describe-internet-gateways --filter Name=attachment.vpc-id,Values=${vpc} \
| jq -r .InternetGateways[0].InternetGatewayId)
if [ "${igw}" != "null" ]; then
echo "Detaching and deleting internet gateway ${igw}"
aws ec2 --region ${region} \
detach-internet-gateway --internet-gateway-id ${igw} --vpc-id ${vpc}
aws ec2 --region ${region} \
delete-internet-gateway --internet-gateway-id ${igw}
fi

# delete subnets
subnets=$(aws ec2 --region ${region} \
describe-subnets --filters Name=vpc-id,Values=${vpc} \
| jq -r .Subnets[].SubnetId)
if [ "${subnets}" != "null" ]; then
for subnet in ${subnets}; do
echo "Deleting subnet ${subnet}"
aws ec2 --region ${region} \
delete-subnet --subnet-id ${subnet}
done
fi

# delete default vpc
echo "Deleting vpc ${vpc}"
aws ec2 --region ${region} \
delete-vpc --vpc-id ${vpc}

done

再作成

「VPC一覧」→「アクション」→「デフォルトVPCを作成」

npm - パッケージアップデート

npm - パッケージアップデート

アップデート可能なパッケージ確認

1
npm outdated

更新

1
2
3
4
5
# 一括
npm update

#指定
npm update xxxxx

メジャーバージョン

1
2
3
4
5
6
npm install -g npm-check-updates
# 確認
ncu
# 更新
ncu -u
npm update
1
ncu

AWS - 多要素認証 (MFA) 必須化ポリシー

多要素認証 (MFA) 必須化ポリシー

多要素認証 (MFA) を有効にするまで権限なし

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowManageMFA",
"Effect": "Allow",
"Action": [
"iam:ChangePassword",
"iam:CreateVirtualMFADevice",
"iam:DeleteVirtualMFADevice",
"iam:DeactivateMFADevice",
"iam:EnableMFADevice",
"iam:ResyncMFADevice",
"iam:ListMFADevices"
],
"Resource": [
"arn:aws:iam::*:mfa/${aws:username}",
"arn:aws:iam::*:user/${aws:username}"
]
},
{
"Sid": "DenyAccessUnlessSignedInWithMFA",
"Effect": "Deny",
"NotAction": [
"iam:ChangePassword",
"iam:CreateVirtualMFADevice",
"iam:DeleteVirtualMFADevice",
"iam:DeactivateMFADevice",
"iam:EnableMFADevice",
"iam:ResyncMFADevice",
"iam:ListMFADevices"
],
"Resource": "*",
"Condition": {
"BoolIfExists": {
"aws:MultiFactorAuthPresent": "false"
}
}
}
]
}