ITとベトナム語を勉強中のぼんくら学生です。誤字、脱字、誤訳等ございましたら、ご指摘頂けると幸いです。LAMP環境、WordPress、SSLをコマンドラインで構築できました。PHPとSQLを勉強してきました。コロナ禍、早く終わってください。
A number of developers have taken a stab at the problem of memory fragmentation and the allocation of large, contiguous blocks of memory in the kernel. Approaches covered on this page recently include Marcelo Tosatti's active defragmentation patch and Nick Piggin's kswapd improvements. Now Mel Gorman has jumped into the fray with a different take on the problem. At a very high level, the kernel or
Memory usage analysis System-wide memory analysis Top/Free These two command-line tools are the two most well-known and (especially with the default columns shown) very useless and misleading. Free In free the used swap shows the amount of used swap and used -/+ buffers/cache is supposed to show the amount of really used RAM. The latter is computed as all memory used minus various caches and buffe
HEAP領域とSTACK領域の間の未使用領域は、下記の領域に使われる 共有ライブラリのロード領域 メモリ・マップト・ファイル用領域 プロセス間共有メモリ用領域 メモリ・マップト・I/O用領域 メモリ・マップトによる追加HEAP領域 小さなサイズをmallocをしたときはHEAP領域に確保されるが、大きなサイズのメモリをmallocしたときはメモリマップ領域に確保される(glibcの場合) すべてmmapにするとメモリのフラグメンテーションがおきないが、mmapは重いしページサイズ単位しか扱えない。 32bit環境では論理メモリが2^32=4GBまでしか確保できない。このうちOSがメモリの上位1or2GBを使うので、実際にはアプリは3or2GBまでしかメモリは使えない。64bit環境になると、もっと使えるようになる。 HEAP領域は下に(上位アドレス方向)、STACK領域は上に(下位アドレス
16:46 08/03/30 YZ1.DLL 0.30 リリース しました。 具体的には、ヘッダの格納ファイル数フィールドに実際より大きい値が入ってると変なとこ読もうとして落ちるバグ修正。 GreenPad の修正は来週くらいには…。 Booooooost Boost 1.35.0 来てました。 Asio と Fusion と GIL の三枚看板がでかいですが、Bimap が地味に便利だ。 あと、mbさんのEgg のレビューが明日からでしょうか。(また スケジュール から消えてますが…Protoが入る前までロールバックしてる?) 他人事ながらドキドキ。 17:36 08/03/28 ケース 十年来の疑問なんですが、"case" に単独で対応する日本語ってなんになるんですかね。 "case-insensitive" や "lowercase" の "case"。単に "case-insens
DryadLINQ is a simple, powerful, and elegant programming environment for writing large-scale data parallel applications running on large PC clusters. Overview The goal of DryadLINQ is to make distributed computing on large compute cluster simple enough for every programmer. DryadLINQ combines two important pieces of Microsoft technology: the Dryad (opens in new tab)distributed execution engine and
コンパイラ演習レジュメ '98年度情報科学実験IIコンパイラ演習のレジュメです。1から8までは田浦さん、9は遠藤さんによるものです。 ただし、ここにはレジュメの約半分、課題までの部分は載せてありますが、課題の答えは載っていません。(^^) 課題説明 仕様説明 CPSの定義 最適化(1) Closure変換 Register割り当て + 抽象機械コード生成 実マシンコード生成 Garbage Collection 一般教養としてのGarbage Collection 〔トップページへ〕 〔「ソフトウェアの作成」のindexページへ〕 <vu@is.s.u-tokyo.ac.jp> Last updated on 16 May, 1999
This post shows briefly how CPU caches are organized in modern Intel processors. Cache discussions often lack concrete examples, obfuscating the simple concepts involved. Or maybe my pretty little head is slow. At any rate, here's half the story on how a Core 2 L1 cache is accessed: The unit of data in the cache is the line, which is just a contiguous chunk of bytes in memory. This cache uses 64-b
ICML2006に興味深い論文がありました。 "An Empirical Comparison of Supervised Learning Algorithm", Rich Caruana caruana and Alexandru Niculescu-Mizil [link] 90年代初め以降、数多くの画期的な教師あり学習が提案されてきましたが、どれがいいかを包括的に比較したことはあまりありませんでした (文書分類などでは、SVMとAda-boosting 強いねということだったのですが Sebastiani@ACM Survey 2002) 決着をつけようじゃないかということで、11の問題に対してハイパーパラメータも完璧にチューニングして、いろいろな分類器を比較しているみたいです。比較内容は精度や再現率やクロスエントロピーなど様々で、確率を直接出さないやつはsigmoid関数など単調
Pathtraq で Web ページの自動分類を手がけてみて。 Web ページは日々どんどん変わっていくのでフィルタは常に更新されなければいけないんですが、そのためには適切なタイミングに、適切な学習データを用意しなければならない。大変。 メンテナンスフリーが理想ですが、もちろん難しい。 現実的なところとしては「追加学習が必要なことを検知して、適切な学習データの候補を提案してくれる」というものが作りたいなあ……などなど考えているわけです。 そこらへんも含めて、自然言語処理とか機械学習とかそこら辺のお勉強をしてるんですが、実際に手を動かさないとわかんないですよねー。 というわけで、 "Introduction to Information Retrieval" の Chapter 17 "Hierarchical clustering" に沿って、ドキュメントの分類器を作ってみました。 ポイン
人気の記事 1「Nothing Phone (2a)」--スタイルよりスペック重視の新型スマホを写真で確認 2024年03月08日 2「Files by Google」、文書を簡単にスキャンできる新機能を追加 2024年03月08日 3注目を集めるスマートリング--新たな定番フィットネストラッカーとなるか 2024年03月08日 4パナソニック、マイクロLEDを使った次世代照明--光のデザイン革新へ 2024年03月07日 5「Nothing Phone (2a)」正式発表--ライトを減らし安価に 2024年03月06日 6「Pixel Watch 2」の一部機能、初代モデルでも利用可能に 2024年03月05日 7アップル、Epic Gamesの開発者アカウントを停止--アプリストア提供が不可能に 2024年03月07日 8イーロン・マスク氏「日本は消えてなくなる」X投稿再び--過去最低
If you have any questions or comments, please visit us on the Forums.
set/unordered_setと普通のアロケータとboost.poolの組み合わせを比べてみたくなった。 ひょっとして変な相性問題とかあったりしないか?と心配になったので。 というわけで、ごそごそベンチマーク。 (テスト用コードは、Cryoliteさんのブログエントリ http://d.hatena.ne.jp/Cryolite/20061108 を参考にしました。この場を借りて、お礼申し上げます。) ソースコードは↓。コメントのところでset/unordered_set、allocator/fast_pool_allocatorを切り替えます。 ------------------------- #include <iostream> #include <set> #include <tr1/unordered_set> #include <tr1/functional> #incl
6/24のエントリはg++でやったのですが、VC++ 2008+Feature Packではどうか。 ・・・という内容のエントリを一瞬アップしたのですが、不具合に気づいたので、引っ込めました。もし読んだ方がいらっしゃったら、忘れてください。 原因は、stdlibのrand()関数の仕様の違い。g++のrand()はちゃんと32ビットの値を返す。VC++のrand()はなぜか16ビットの値を返す。 結果、生成した乱数をsetに入れていく、という部分がg++とVC++とで、全く違った意味合いの動作になってしまったのでした。 ソースをboost.randomを使ったものに書き直しました。 (煩雑なのでソースは示しませんが、 k.inabaさんのLet's boostのboost::randomのページを参考にしました。ありがとうございます。 http://www.kmonos.net/alang
unorderd_setの速度を調べるために、以下のコードを書いた。VC9で実行した結果、以下のようになった。 class std::set<unsigned int,struct std::less<unsigned int>,class std::allocator<unsigned int> > insert : 0.284398 find : 0.102093 class stdext::hash_set<unsigned int,class stdext::hash_compare<unsigned int,struct std::less<unsigned int> >,class std::allocator<unsigned int> > insert : 0.293333 find : 0.0481863 class boost::unordered_set<unsign
[編集] 意図[編集] コンテナを空にし容量を最小化する。 別名[編集] 動機[編集] STL のコンテナはしばしば、実際の要素数よりも多いメモリを確保する。 その結果、コンテナのサイズが拡大するときのメモリ確保を抑えることによる 最適化がもたらされる。 一方、コンテナのサイズが減少した時には、しばしば余分な容量が残る。 コンテナの余分な容量は、メモリリソースの不要な消費になりうる。 空にして最小化(Clear-and-minimize)イディオムは、コンテナを空にして余分な容量を 0 あるいは最小限必要な容量に切り詰め、メモリリソースの消費を抑えるために開発された。 解法とサンプルコード[編集] 空にして最小化(Clear-and-minimize)イディオムは、下記で示されているように単純である。 std::vector <int> v; //... たくさんの push_back と
David Wang on IIS, ISAPI, Exchange, Virtual Server, and whatever else I fancy... HOWTO: IIS 6 Request Processing Basics, Part 2 - Web Site, Virtual Directory, and Web Application Question: In brief, what is different about a virtual directory that is also set as a Web... Author: David.Wang Date: 12/07/2008 HOWTO: PreCondition an ISAPI Extension DLL Question: Hello We have a legacy x64 ISAPI extens
(Last updated 9 Apr 2011.) Download the library. Table of contents: Introduction Allocators provided by this library FSBAllocator FSBAllocator2 Speed benchmark of FSBAllocator Usage of FSBAllocator Thread safety FSBAllocator2 as a reference counter pool License Introduction In most systems the default allocator used by C++ (and C) compilers is a very general memory allocator which supports allocat
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く