OVH Cloud OVH Cloud

Differents noyaux, doublement du temp s systeme pour les acces disques ?

3 réponses
Avatar
Christian P. MOMON
Bonjour,

J'ai fait le tests de copier un fichier d'1.1Go (généré
à partir de /dev/zero) d'un partition vers la même partition.
La machine est un P4 2.4 CACHE 512Mo RAM 1024Mp et la carte
mère une ASUS P800.

Les deux noyaux sont: Redhat9 2.4.20-31.9 et
Knoppix3.7 2.4.20-31.9

Le script du test:
> cat doTest
sync
cp fichier1Go fichier1Go_2
sync
>

La commande du test: time ./doTest

Les débits sont ceux indiqués par une hdparm -tT
sys correspond au temps système affiché par la commande time
total correspond au temps 'real' affiché par la commande time

Voici les résultats:

Taille Cache Débit sysRH9 sysKNO3 TotalRH9 TotalKNO3
20Go 512Ko 17 MB/s 5s 10s 2 mn 45 2 mn 10
120Go 8Mo 34 MB/s 5s 10s 1 mn 18 1 mn 20
200Go 8Mo 30 MB/s 5s 13s 1 mn 20 1 mn 14


J'ai essayé le test sur d'autres machines en FC3 2.6 ayant
des disques avec 2Mo de cache et environ 30MB/s:
- Celeron 2.4 128Mo RAM 512Mo: cpsys=12s, cptotal=1 mn 35
- bi-xeon 2.4 512Mo RAM 1024Mo: cpsys=16s, cptotal=1 mn 20
Donc on est loin du 5s ...

Conclusion: avec certain noyau 2.4.20-31.9, le temps sys
est divisé par deux, même par rapport à des noyaux 2.6.

Questions:
1) est-ce grave docteur ?
2) quantum:
2a) est-ce du au changement de la valeur du quantum ?
2b) où trouver la valeur du quantum dans /proc ?
2c) où trouver la valeur du quantum autrement qu'en
compilant le programme suivant:
#include <sched.h>
int main ()
{
struct timespec tp;
while (1)
{
int a = sched_rr_get_interval(0, &tp);
printf ("%i %i\n", tp.tv_sec, tp.tv_nsec);
}
}

3) d'ou peut venir la différence de temps système ?!!!

Merci d'avance,

Cpm.
--
__ __ __
(o_ | |__| | | "CPM est Christian P. M____." ('<
/) |__ . | . | | . cp.momon@ocmland.org ,',)

--
Pour contacter l'équipe de modération : moderateurs-fcolm@efrei.fr
ATTENTION: Postez DIRECTEMENT vos articles dans le groupe, PAS dans
la liste de distribution des modérateurs.

3 réponses

Avatar
Arnaud Launay
Le 11 Dec 2004 21:39:25 GMT, Christian P. MOMON écrivit:
3) d'ou peut venir la différence de temps système ?!!!



Trop de paramètres rentrent en jeu dans ton test, les résultats
ne sont pas fiables. Regarde plutôt du côté de:
- Bonnie ( http://www.textuality.com/bonnie/ )
- Bonnie ++ ( http://www.coker.com.au/bonnie++/ )

Qui te permettront d'avoir des résultats plus constants.

Arnaud.
--
http://launay.org/blog/
http://www.cusae.com/

--
Pour contacter l'équipe de modération :
ATTENTION: Postez DIRECTEMENT vos articles dans le groupe, PAS dans
la liste de distribution des modérateurs.
Avatar
Christian P. MOMON
14 months of life...

4 well chosen cutlets (from the breasts of 2 healthy neonates)
2 large lemons (fresh lemons always, if possible)
Olive oil
Green onions
Salt
pepper
cornstarch
neonate stock (chicken, or turkey stock is fine)
garlic
parsley
fresh cracked black pepper

Season and sauté the cutlets in olive oil till golden brown, remove.
Add the garlic and onions and cook down a bit.
Add some lemon juice and some zest, then de-glaze with stock.
Add a little cornstarch (dissolved in cold water) to the sauce.
You are just about there, Pour the sauce over the cutlets,
top with parsley, lemon slices and cracked pepper.
Serve with spinach salad, macaroni and cheese (homemade) and iced tea...



Spaghetti with Real Italian Meatballs

If you don?t have an expendable bambino on hand,
you can use a pound of ground pork instead.
The secret to great meatballs, is to use very lean meat.

1 lb. ground flesh; human or pork
3 lb. ground beef
1 cup finely chopped onions
7 - 12 cloves garlic
1 cup seasoned bread crumbs
½ cup milk, 2 eggs
Oregano
basil
salt
pepper
Italian seasoning, etc.
Tomato gravy (see index)
Fresh or at least freshly cooked spaghetti or other pasta

Mix the ground meats together in a large bowl,
then mix each of the other ingredients.
Make balls about the size of a baby?s fist
(there should be one lying around for reference).
Bake at 400°for about 25 minutes -
or you could fry them in olive oil.
Place the meatballs in the tomato gravy, and simmer for several hours.
Serve on spaghetti.
Accompany
Avatar
Arnaud Launay
be thoroughly cleaned and washed).
Smother slowly for at least 2 hours, adding small amounts of water
when it starts to stick.
Stir frequently.
When ready - serve with rice, grilled smoked sausage, green salad, and iced tea.
Coffee and apple pie then brandy.



Maternity Ward Pot Luck Dinner

If you can?t get anything fresh from the hospital, nursery, or morgue;
you can at least get rid of all the leftovers in your refrigerator.

1 - 2 lbs. cubed meat (human flesh, chicken, turkey, beef...)
1 -2 lbs. coarsely chopped vegetables
(carrots, potatoes, turnips, cauliflower, cabbage...)
Bell pepper
onions
garlic
ginger
salt pepper, etc.
Olive oil
butter

Brown the meat and some chopped onions, peppers, and garilic in olive oil,
place in baking dish, layer with vegetables seasoning and butter.
Bake at 325° for 30 - 45 minutes.
Serve with hot dinner rolls, fruit salad and sparkling water.



Bébé Buffet 1

Show off with whole roasted children replete with apples in mouths -
and babies? heads stuffed with wil