投稿数 - 437, コメント - 56528, トラックバック - 156

ファイバ考察 - その1

「This is CLR」の続きを書いていきたかったのだが、別の事に興味がいってしまった。そう、ファイバだ。この記事のコメントを参照して欲しいのだけど、SQL Server、スレッド、ファイバの関係は想像以上に難解だ。私の頭では殆ど理解不能。

という事で、ファイバについて考察してみる。尚、これからの記事は調査しながらの記述になるので、正当性は何ら保障しない。しかも途中で諦めて尻切れになるかもしれない。だが、できるだけ頑張って正確な情報を最後まで書いていくつもりだ。

SQL Server はスケジューリングに関して非常に高度な事を行っている(※1)。ファイバの話は殆ど SQL Server と絡んでくるので、SQL Server の話を抜きにしてファイバは語れないだろう。

まずは、ファイバの説明を簡単にしておく。

スレッドはプロセスを軽量にしたものと言われ、複数の処理を同時に行いたい場合に複数のプロセスを作成するのではなく、複数のスレッドを作成すればコストが安いというわけだ。ファイバは、そのスレッドを更に軽量にしたものである。

ファイバは OS のスケジュールに組み込まれていない。ファイバの存在をまるっきり無視する。よって、ファイバの切り替えはユーザーコードが明示的に行わなければならない。この性質が欠点であり利点である。

Advanced Windows によれば、ファイバの存在意義は UNIX コードの移植にあった。OS スレッドを使わないで、ユーザーコードでコンテキストを切り替えているプログラムの移植にこそファイバを使うべきであって、通常は OS スレッドを使うべきだとある。

続く。

 

※1 SQLOS、UMS というキーワードで調べてみてほしい。

投稿日時 : 2007年4月2日 20:55

フィードバック

# re: ファイバ考察 - その1

ちなみに.NET界隈では
ハードスレッド
ソフトスレッド
と呼ばれるていると思ってたんですが、そうでもない?
2007/04/02 21:32 | 中博俊

# re: ファイバ考察 - その1

>ハードスレッド
>ソフトスレッド

初めて聞きました。なるほど。
2007/04/02 23:27 | 囚人

# re: ファイバ考察 - その1

SQL Server 2005 は,結局,今のところ,
"lightweight pooling" オプションと
"clr enabled" オプションは,排他的にしか使用できないですね。
2007/04/03 13:30 | 稍丼

# re: ファイバ考察 - その1

> SQL Server 2005 は,結局,今のところ,
> "lightweight pooling" オプションと
> "clr enabled" オプションは,排他的にしか使用できないですね。

なんと!そんな事実が…。
2007/04/03 22:21 | 囚人

# ファイバ考察 - その2

ファイバ考察 - その2
2007/04/08 20:37 | 囚人のジレンマな日々

# ファイバ考察 - その2

ファイバ考察 - その2
2007/04/08 20:44 | 囚人のジレンマな日々

# re: ファイバ考察 - その1

http://www.nike-airmax2017.us.com
http://www.vans-outlet.us.com
http://www.yeezy-shoes.us
http://www.supremeclothing.us
http://www.nikedunks.us.org
http://www.yeezyshoes.org.uk
http://www.guccibelt.us.com
http://www.longchamphandbags.us.org
http://www.kobebasketballshoes.us.com
http://www.adidasyeezy.co.uk
http://www.goyardhandbags.us.com
http://www.fitflops.cc
http://www.kyrie4.org
http://www.nike-airforce1.us.com
http://www.adidas-tubular.us.com
http://www.yeezyboost.com.co
http://www.curry4.us.com
http://www.longchampbags.us.org
http://www.hermesbelts.com
http://www.adidasultra.us.com
http://www.lebronjames-shoes.us.com
http://www.yeezy.org.uk
http://www.jordan12.us.com
http://www.hermes-belt.us.com
http://www.adidas-tubular.us.com
http://www.linksoflondon.us.com
http://www.retro-jordans.us.com
http://www.lebron15.net
2017/11/28 12:00 | cc

# re: VB.NET で C# の { } 空ブロックと同じことをするには?

http://www.michaelkorsinc.us.com
http://www.adidaswings.name
http://www.outletcanadagoosesale.us.com
http://www.louboutin.uk
http://www.timberland.us.org
http://www.ferragamooutlet.us.com
http://www.nikeairmax.me.uk
http://www.swarovski-jewelry.us
http://www.ralphlaurencom.us.com
http://www.pradabags.in.net
http://www.christian--louboutin.us
http://www.cheapreplicawatches.us.com
http://www.rayban.in.net
http://www.thenorthfaceoutlet.ca
http://www.oakleysunglassescom.us.com
http://www.uggbootssaleoutlet.us.com
http://www.michaelkorsoutlet.us
http://www.pandoracharmjewelry.us.com
http://www.montblanc.com.co
http://www.thenorthfaceuk.co.uk
http://www.truereligionsale.com.co
http://www.doudounecanadagooseenfant.fr
http://www.michaelkorsoutlet70off.us.com
http://www.ugg.com.co
http://www.michaelkorsonline-outlet.us.com
http://www.raybansunglassesoutlet.net.co
http://www.timberlandoutlet.us.org
http://www.converseshoesoutlet.us.com
http://www.ralphlauren-poloshirts.co.uk
http://www.uggcanadaoutlet.ca
http://www.toryburchoutletoff.us.com
http://www.uggoutletinc.us.com
http://www.truereligionoutletjeans.us
http://www.ralphlaurenoutletofficial.us.com
http://www.truereligion-jeans.us
http://www.wholesaleoakleysunglasses.us.org
http://www.fitflops.org
http://www.soccerjersey.us.com
http://www.pandorajewelrycanada.ca
http://www.coachhandbagsfactoryoutletonline.us.com
http://www.outletcanadagoose.ca
http://www.vibram-fivefingers.us.com
http://www.ralphlauren.in.net
http://www.ugg-bootsonline.us.com
http://www.canadagoosecom.us.com
chenlina20180104
2018/01/04 13:58 | chenlina

# Yeezys

qfnxuxuuuui New Yeezy,If you want a hassle free movies downloading then you must need an app like showbox which may provide best ever user friendly interface.
2019/04/15 6:52 | duvtqxujz@hotmaill.com

# Yeezy Blue Tint

qcvybmikv,If you are going for best contents like I do, just go to see this web page daily because it offers quality contents, thanks!
2019/04/17 0:27 | dnukevq@hotmaill.com

# Nike Shox

This is not a crazy idea in my opinion. We may enter the end of the ten-year bull market, we The volatility seen in the past six months is very different from the past 10 years.” Earlier this week,
2019/04/21 19:41 | henqpfdgpi@hotmaill.com

# pandora jewelry

"There are signs that it has been 10 years. The stock market bull market is about to peak, because (now) US stocks are definitely not cheap and very sensitive to any bad news." The number of weekly claims for unemployment benefits in the United States has fallen to its lowest level since 1969,
2019/04/26 15:27 | msqnsokell@hotmaill.com

# Nike Store

A cored-out white React foam midsole with salmon plugs then completes the look. A perfect shoe for the warm weather ahead, you can check these new women’s Reacts out in detail below, and expect a release on Nike.com and at select sportswear stockists in the coming weeks for $130 USD.
2019/04/29 20:12 | tidjlhtfa@hotmaill.com

# pandora charms

http://www.yeezys.us.com/ Yeezys
2019/05/15 14:14 | mqqtwrgqro@hotmaill.com

# Nike Shoes

http://www.nike--outlet.us/ Nike Outlet
2019/05/22 7:02 | cqapnk@hotmaill.com

# Cheap Nfl Jerseys Wholesale

http://www.jordan11-concord.com/ Jordan 11 Concord 2018
2019/05/25 18:01 | yjbfjqzxgm@hotmaill.com

# Nike Pegasus

http://www.pittsburghsteelers-jerseys.us/ Steelers Jerseys
2019/05/30 3:01 | rqbwnzau@hotmaill.com

# Travis Scott Jordan 1

So how would the Su-35 do against America’s best planes? How would it fare against an American air force that is clearly the best in the world. How would,Jordan for example,Jordan the Su-35 do in a combat situation against Lockheed Martin’s F-35 Joint Strike Fighter? How would Russia’s new plane do against older aircraft like the F-15 or say F-16?
2019/05/30 3:43 | xrorxaoqau@hotmaill.com

# NFL Jerseys Cheap

http://www.nikeplus.us/ Nike Air Vapormax Plus
2019/06/11 0:46 | slxacuch@hotmaill.com

# cheap custom nfl jerseys

http://www.nikeoutletonlineshopping.us/ Nike Outlet Store Online Shopping
2019/06/16 11:45 | zxkmbnsamu@hotmaill.com

# Nike VaporMax Flyknit

http://www.yeezy350.org.uk/ Yeezy
2019/06/21 6:32 | ephvobry@hotmaill.com

# Cheap Jerseys

http://www.jordan33.us/ jordan 33
2019/06/27 15:03 | lifnykfqc@hotmaill.com

# Yeezy

http://www.yeezys.me.uk/ Yeezy Shoes
2019/07/14 3:38 | vkwwpdwcvf@hotmaill.com

# Yeezy

http://www.yeezy-shoes.in.net/ Yeezy
2019/08/03 2:15 | iafcoz@hotmaill.com

# NFL Jerseys

http://www.yeezys.me.uk/ Yeezy Shoes
2019/08/10 16:57 | oxeuvkouj@hotmaill.com

# Adidas Yeezy

hccpywfgail,If you have any struggle to download KineMaster for PC just visit this site.
2019/09/07 17:10 | gcqwhikbaie@hotmaill.com

# This is the right blog for anybody who wishes to find out about this topic. You realize so much its almost tough to argue with you (not that I personally will need to…HaHa). You definitely put a brand new spin on a subject that has been written about fo

This is the right blog for anybody who wishes to find out about this
topic. You realize so much its almost tough to argue with you
(not that I personally will need to…HaHa).

You definitely put a brand new spin on a subject that has been written about for years.
Great stuff, just wonderful!

# This is the right blog for anybody who wishes to find out about this topic. You realize so much its almost tough to argue with you (not that I personally will need to…HaHa). You definitely put a brand new spin on a subject that has been written about fo

This is the right blog for anybody who wishes to find out about this
topic. You realize so much its almost tough to argue with you
(not that I personally will need to…HaHa).

You definitely put a brand new spin on a subject that has been written about for years.
Great stuff, just wonderful!

コメントの投稿

タイトル
名前
URL
コメント