2010/04/30
EC2の「m2.xlarge」のハードウェアの仕様チェック
us-westで、今日起動したインスタンス(Instance Type: m2.xlarge)は以下のような感じだった。
やはり、XeonのX5550(2.66GHz)です。
# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU X5550 @ 2.67GHz stepping : 5 cpu MHz : 2666.760 cache size : 8192 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca popcnt lahf_lm bogomips : 5338.76 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU X5550 @ 2.67GHz stepping : 5 cpu MHz : 2666.760 cache size : 8192 KB physical id : 1 siblings : 1 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc up pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca popcnt lahf_lm bogomips : 5338.76 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management:
# cat /proc/meminfo MemTotal: 17927580 kB MemFree: 3541048 kB Buffers: 84476 kB Cached: 13661972 kB SwapCached: 0 kB Active: 3622604 kB Inactive: 10129120 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 68 kB Writeback: 0 kB AnonPages: 5284 kB Mapped: 4636 kB Slab: 242864 kB SReclaimable: 183344 kB SUnreclaim: 59520 kB PageTables: 1012 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 8963788 kB Committed_AS: 43508 kB VmallocTotal: 34359738367 kB VmallocUsed: 180 kB VmallocChunk: 34359738187 kB
コメント
トラックバック - http://blo.g.hatena.ne.jp/rx7/20100430
2010/04/03
iPadに最適化されたGmailのインターフェース
via. Google services on the iPad and tablet computers - Official Google Mobile Blog
おー、これは見やすそうだ。PCからでも、こっちで見たいかも。
トラックバック - http://blo.g.hatena.ne.jp/rx7/20100403
2010/04/02
ec2-upload-bundleコマンドで・・・
us-west region での話。
You are bundling in one region, but uploading to another. If the kernel or ramdisk associated with this AMI are not in the target region, AMI registration will fail. You can use the ec2-migrate-manifest tool to update your manifest file with a kernel and ramdisk that exist in the target region. Are you sure you want to continue? [y/N]
きちんと"--location"の指定ができていて、
整合性が取れているなら、気にせず"y"でいってよし。
たぶん。
S3へのuploadも、AMIのregistもちゃんと出来た。
トラックバック - http://blo.g.hatena.ne.jp/rx7/20100402
2010/04/01
swap領域の操作
よく調べるので備忘録的に。
swapファイルの作成
パーティションによる割り当てを行わない場合は、ファイルを作って割り当てちゃう。
# dd if=/dev/zero of=/foo/bar/swap-file bs=1024k count=2048
↑は例なので、ディレクトリやサイズは適当に書き換える感じで。
swap領域を作成
# mkswap /foo/bar/swap-file
作成したswap領域を有効に
# swapon /foo/bar/swap-file
ここで有効にしても、再起動したら無効化されるので、
必要に応じて/etc/fstabなどにも書いておく。
作成したswap領域を無効に
# swapoff /foo/bar/swap-file
トラックバック - http://blo.g.hatena.ne.jp/rx7/20100401
